Skip to main content

hurry.resource style resources for jquerytools.

Project description

Introduction

This library packages jquerytools for hurry.resource. It relies on hurry.jquery for the dependency.

Please take note that for now only the minified version of jquerytools is used. This is because i don’t found a proper download location for the different versions of download.

How to use?

You can import Slimbox from hurry.jquerytools and .need it where you want these resources to be included on a page:

from hurry.jquerytools import jquerytools

.. in your page or widget rendering code, somewhere ..

jquerytools.need()

This requires integration between your web framework and hurry.resource, and making sure that the original resources are published to some URL.

The package has already been integrated for Grok and Zope 3. 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.

Preparing hurry.jquerytools before release

This section is only relevant to release managers of hurry.jquerytools.

When releasing hurry.jquerytools, an extra step should be taken. Follow the regular package release instructions, but before egg generation (python setup.py register sdist upload) first execute bin/jquerytoolsprepare. This will download the jquerytools library and place it in the egg. (The version number is currently hardcoded in the hurry.jquerytools.prepare module).

CHANGES

1.2.5 (2010-10-07)

  • upgrade to use hurry.jquery 0.10
  • upgrade to jquerytools-1.2.5

1.2.4 (2010-09-08)

  • Initial public release, using jquerytools-1.2.4

Project details


Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page