Fanstatic packaging of spin.js
This requires integration between your web framework and fanstatic, and making sure that the original resources (shipped in the resources directory in js.spin) are published to some URL.
You can import spin from js.spin and need it where you want these resources to be included on a page:
>>> from js.spin import spin >>> spin.need()
Or, if you prefer the jQuery plugin verstion of spin.js:
>>> from js.spin import jquery_spin >>> jquery_spin.need()