-
Notifications
You must be signed in to change notification settings - Fork 93
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
artoo.saveImage seems to always error out with: "Uncaught TypeError: i.getExtension is not a function" #260
Comments
That's a strange issue. Did you load the bookmarklet from the documentation's site? Emmet should be bundled with it. |
Thanks for quick response, using latest bookmarklet (yesterday) tracing it back from github source: var _root = this, but artoo.helpers as defined in artoo/src/artoo.helpers.js has no getExtension method? repro: running on page: http://imgur.com/gallery/j2sqN
|
Well that's quite strange, I don't know why but this helper has indeed disappeared. I need to add it back. Can you ping me if I forget please? |
thanks, please LMK! |
Just released a v0.3.4 that should solve your issue. Be sure to empty your browser's cache and that the bookmarklet loads the correct version when loading artoo. |
Can you show me your code or its documentation somehow? |
I've tried to trace back through minified spaghetti, looks like 'i' is Emmett instance, and it doesn't have this function?
artoo.saveImage('img',{filename:'test.jpg'});
Uncaught TypeError: i.getExtension is not a function
at o.artoo.saveImage (artoo-latest.min.js:2)
at :1:7
The text was updated successfully, but these errors were encountered: