fgnass / spin.js

A spinning activity indicator
http://spin.js.org
MIT License
9.3k stars 1.02k forks source link

Rewrite as ES6 module #341

Closed theodorejb closed 6 years ago

theodorejb commented 6 years ago

Hi, I'm one of the core maintainers of Ladda, which relies on spin.js. I'd like to rewrite Ladda as an ES6 module, but this can't be done unless spin.js is also an ES6 module.

Would you be open to a pull request that would change spin.js to an ES6 module? It would have to be released as v3, since this would be a breaking change.

Rewriting spin.js as a native ES6 module should also resolve issue #340.

Other changes that could happen at the same time:

@fgnass @TimothyGu What are your thoughts on this?