artlantis / easybox

Automatically exported from code.google.com/p/easybox
0 stars 0 forks source link

Undefined options (latest build) #8

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Fresh copy of Easybox
2. Easybox example page (index.html)
3. Delete $.easybox() function (initial popup)
(4.) Optionally delete entire <script type="text/javascript"> element, which 
shouldn't make a change.

What is the expected output? What do you see instead?
It basically works fine, generates loads of errors however.

For easybox.js (line 636):
options is undefined
if ((options.dragDrop) && (dragging))

For easybox.min.js (line 17):
b is undefined
...px"})}}function V(){L&&(L=!1,a([f,p,y,z]).css({cursor:""}))}var 
ga,b,d,g=-1,k,i,...

What version of the product are you using? On what operating system?
GIT clone. WinXP; Win7; Firefox, Chrome, Safari

Please provide any additional information below.
The script starts to generate the errors after moving a mouse or leftclick. 
After deleting .mousemove(dragMove) on line 105 in easybox.js, it works 
flawlessly.

That's the only place, it differs from v1.2.
http://code.google.com/p/easybox/source/diff?spec=svn69b1faaa4ce7942273a1a15f03d
b518a89d3be6d&r=69b1faaa4ce7942273a1a15f03db518a89d3be6d&format=side&path=/easyb
ox/easybox.js

I know it's a development version, but it might save you a minute. Would you 
consider including uncompressed files to final releases?

Original issue reported on code.google.com by robert.s...@gmail.com on 8 Feb 2012 at 2:11

GoogleCodeExporter commented 9 years ago
Fixed in next version.

Original comment by v.woch...@gmail.com on 15 Oct 2012 at 1:19

GoogleCodeExporter commented 9 years ago

Original comment by v.woch...@gmail.com on 15 Oct 2012 at 1:56