Hurry resource for JQuery Qunit
How to use?
You can import hurry.qunit from hurry.qunit and .need it where you want these resources to be included on a page:
from hurry.qunit import qunit .. in your page or widget rendering code, somewhere .. qunit.need()
This requires integration between your web framework and hurry.resource, and making sure that the original resources (shipped in the qunit-build directory in hurry.qunit) are published to some URL.
The package has already been integrated for Grok and the Zope Toolkit. If you depend on the hurry.zoperesource package in your setup.py, the above example should work out of the box. Make sure to depend on the hurry.zoperesource package in your setup.py.
- First public release of qunit. qunit doesn’t seem to have releases so we just make up a number. It’s the GIT version as of 2010-08-20.