Closed shahrukhx01 closed 6 years ago
same as me. http://fgnass.github.io/spin.js/spin.min.js this link is broken.
first, changed url to http://spin.js.org/spin.js and then delete line 112 : export { Spinner };
it's temporarily solution
yes I already copied the code locally and then did that change, worked for me too. Thanks!
Check the release notes and #343; the project was upgraded to ES6. I'm guessing you should probably stick with the version 2 branch if you're not transpiling your code and bundling modules with Babel/Webpack.
I updated the website to clarify that spin.js shouldn't be loaded from a <script>
tag directly referencing the official website, as this is likely to break your app whenever a major new version is released.
I'm getting the following error on the console.
Uncaught SyntaxError: Unexpected token export Incident:1654 Uncaught ReferenceError: Spinner is not defined
Please help as we are using SpinJs in production.
Thanks, Shahrukh