-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Plugin does not work with JSPM & ES6 or Babel in any browser but Chrome #453
Comments
I don't know what JSPM expects, but this "plugin" currently does not provide a CommonJS, AMD, or ES6+ export. It hangs everything off of |
😂😂😂😂😂😂😂😂😂
Agree the plugin should be updated to provide CommonJS, AMD and es6 support. |
Closing this in favor of #458. Please see the discussion there. |
For those folks looking to leverage this framework using jspm here is how you do it. jQuery `import "waypoints"; let foopoint = new Waypoint({...` I have not tested the following but it should be something like this: No Framework `import Waypoint from "waypoints"; let foopoint = $("#foo").waypoint({...` It is my bet that Zepto support would be similar to jQuery's. |
I've been trying to use this plugin with JSPM and es6-module-loader/systemjs but I get an error. It does, however, work in Chrome - but not in any other browser. It also doesn't work when compiled with Babel.
I installed through the usual JSPM route (jspm install github:imakewebthings/waypoints) and then import the plugin into my JS file at the top.
I then get an error saying "Potentially unhandled rejection [2]".
Any ideas? I can confirm other plugins work with my build
The text was updated successfully, but these errors were encountered: