Fanstatic packaging of jCrop
Project description
js.jquery_jcrop
Introduction
This library packages jCrop 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.jquery_jcrop) are published to some URL.
Updating this package
In order to obtain a newer version of jCrop for this library, do the following:
git clone https://github.com/davidjb/js.jquery_jcrop.git pushd js.jquery_jcrop/js/jquery_jcrop/resources wget https://github.com/tapmodo/Jcrop/tarball/v0.9.10 -O jcrop.tgz tar xf jcrop.tgz --strip=2 rm -rf *.php *.html demo_files jcrop.tgz jquery.min.js popd #Edit changelog, setup.py for versions, etc git commit -a -m "Updated for release 0.9.10" git push
Usage
You can import jquery_jcrop from js.jquery_jcrop and need it where you want these resources to be included on a page:
>>> from js.jquery_jcrop import jquery_jcrop >>> jquery_jcrop.need()
and this will automatically include all the jCrop CSS and JavaScript resources for you. We also provide a minified version of the resources for when you want to move your code into production and reduce page weight. These latter libraries are automagically included for you thanks to Fanstatic when you turn on minification.
CHANGES
0.9.10 (2012-11-02)
Initial release.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file js.jquery_jcrop-0.9.10.zip
.
File metadata
- Download URL: js.jquery_jcrop-0.9.10.zip
- Upload date:
- Size: 32.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0dfa1b9a6a937eecfca91cf94d0b70e37626305274955bfc148e9ac2b0bd61d8 |
|
MD5 | 8c592b66adb67dccd8aecfafc6ead0e1 |
|
BLAKE2b-256 | dc12597e13f3a0c394ee0801f87dac9c8a6293216e00fc29145da6f251a755c1 |