-
Notifications
You must be signed in to change notification settings - Fork 686
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
uncaught exception: [Exception... "Not enough arguments" nsresult: "0x80570001 #2
Comments
it's a little broken in non-webkit browsers ATM sorry |
No Problem Tj, really like it. Having another issue in chrome probably something stupid i'm doing trying to run this code on document load move('.Obj') .Obj is positioned absolute etc but it just sets the position to those coordinates no actual animation, ie its instantaneous, also same thing happens if i trigger it from a click event. cheers Dave |
hmm looks fine at a glance |
ok figured it out, If I have a doctype in the page it doesnt seem to work neither html 5 or html 4 or atleaset the doc types produced by jade for If I take the doctypeout alltogther it works fine |
hmm that's interesting, never heard of that affecting js |
yup very strange, just tried it on some of move.js examples directly (instead of loading through node/express/jade) and setting the doctype on any of them seems to stop any animation. can you recreate the issue or is this something specific my system windows xp & chrome 11.0.696.68 no errors showing up in inspector/console either |
hmm yeah definitely same for me |
interesting, it works in safari fine, figured it might be camel-casing of the props or something |
Hi TJ, The issue seems to be to do with setting the transition-duration property by default you are setting to 500 however if you set to "1s" or ".5s" it works fine (with doctype etc) also if you add a third parameter to style.setProperty of an empty string el.style.setProperty(prop, props[prop],''); it fixes the original uncaught exception issue for firefox cheers _dR |
interesting, without the doctype |
actually it's probably the same issue, 100 vs 100px |
yup |
closeddd |
Hi Tj.
getting this error in Firefox 4.0.1 (pc) when I try the demos on the docs page when I Press play on the first demo works fine in chrome
http://visionmedia.github.com/move.js/
uncaught exception: [Exception... "Not enough arguments" nsresult: "0x80570001 (NS_ERROR_XPC_NOT_ENOUGH_ARGS)" location: "JS frame :: http://visionmedia.github.com/move.js/move.min.js :: <TOP_LEVEL> :: line 5" data: no]
The text was updated successfully, but these errors were encountered: