Skip to main content

hurry.resource style resources for jQuery.

Project description

hurry.jquery

Introduction

This library packages jQuery for hurry.resource. It is aware of jQuery’s structure and different modes (normal, minified).

How to use?

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

from hurry import jquery

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

jquery.need()

This requires integration between your web framework and hurry.resource, and making sure that the original resources (shipped in the jquery-build directory in hurry.jquery) 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.jquery before release

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

When releasing hurry.jquery, 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/jqueryprepare <version number>, where version number is the version of the YUI release, such as 1.3.2. This will download the jQuery library of that version and place it in the egg.

CHANGES

1.3.2.1 (2009-05-27) (jQuery version 1.3.2)

  • Initial public release, using jQuery-1.3.2.

Download

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for hurry.jquery, version 1.3.2.1
Filename, size File type Python version Upload date Hashes
Filename, size hurry.jquery-1.3.2.1.tar.gz (59.3 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page