How to install js.spin
- Download and install ActivePython
- Open Command Prompt
- Type
pypm install js.spin
Lastest release
js.spin
Introduction
This library packages spin.js for fanstatic.
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.
How to use?
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()
CHANGES
1.3.0-1 - 2013-05-03
- Added missing dependency to the jquery_spin resource.
1.3.0 - 2013-05-03
- Upgrade to 1.3.0.
- Add jQuery version.
1.2.2
- Initial release.