-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Add UMD support and export WOW class as default #249
base: master
Are you sure you want to change the base?
Conversation
@graingert Really? Didn't knew about that, didn't code on CS for about probably a year. Is there any easier change? Inspite it does or not, this does the job. |
Is this why I have to write import container from 'wowjs';
const WOW = container.WOW; ...when using WOW through NPM/Browserify? |
@samhavens nope, you only need to write: import Wow from 'wow.js';
new Wow(...); |
@samhavens you're missing the "." between wow and js. This gets you the official https://wow.js.org version. |
So you npm install works, but when you bring it in, you use the period? Or
Sam Havens CTO |
@samhavens you need to |
when you drop the "." you have to release your source under the GPL. |
Wow! Thanks
Sam Havens CTO |
Implementation referred on issue #228