fgnass / spin.js

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

Rewrite in TypeScript as a modern ES6 module #343

Closed theodorejb closed 6 years ago

theodorejb commented 6 years ago

Version 3.0 does not change the public Spinner API, so if you are already using a module bundler such as Webpack or Rollup, upgrading should be as easy as adding the following ES6 module import:

import {Spinner} from 'spin.js';
theodorejb commented 6 years ago

This should also fix #309.

theodorejb commented 6 years ago

You can test the new version here: https://theodorejb.github.io/spin.js/

fgnass commented 6 years ago

💯 Thank you very much, your help is highly appreciated! I added you as collaborator to this repo. Feel free to modify whatever you feel is necessary.

theodorejb commented 6 years ago

@fgnass Thanks! Can you also add me as a collaborator on npm so I can publish releases? My username is theodorejb.

https://www.npmjs.com/package/spin.js/access

fgnass commented 6 years ago

Done.