-
Notifications
You must be signed in to change notification settings - Fork 43
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
Appear not defined #23
Comments
Same issue here. |
Also having the same issue. |
This was introduced in the recent change to be compatible with webpack. The extra nested return function(obj) is not actually being executed, just defined, so this file no longer works to just load as a script in html. |
So how do I load it into html so I can use it as before? |
Appear.js' example is not working.
Firefox console displays: What can I do to solve this? |
Anyway, the older version (practically the same as the newer version) is working as I expect. |
For those still looking for a fix to this bug, there is an open pull request from @tehmi2000 that fixes it. It worked for me, you should get the updated code from here |
Hi,
We were using an earlier version of appear.js (1.0.3) and we were able to use it fine (called it using the sample code you provided on your website,
appear({object content here})
).I tried a new project with the latest version and I am getting "appear is not defined" error inside Console. Do we need to assign it to a variable or another object and then execute it? Or does it has something to do with module imports/exports? Sorry, i'm not the most experienced person with JS but just noticed this and wanted to know if it had something to do with the way I was calling it or not.
Thanks
The text was updated successfully, but these errors were encountered: