Pyramid JS/CSS resource management with curl.js
Project description
pyramid_amdjs allows to manage js and css resources as amdjs modules
config.include('pyramid_amdjs')
config.add_amd_js(
'jquery', 'pyramid_amdjs:static/lib/jquery-1.8.2.min.js',
'JQuery Library')
Then you can use jquery in your amd module
define('my-package', ['jquery'],
function($) {
$('...').
}
)
License
pyramid_amdjs is offered under the MIT license.
CHANGES
0.3 (01-03-2012)
Added debug mode
Added _v query param that allow stong caching
curl.js 0.7.3
uglify.js 1.3.4
0.2.1 (12-18-2012)
Fixed: use route_url for amd ini js path
0.2 (12-11-2012)
Added twitter bootstrap (2.2.2)
Allow to pass all params in options for pyramid.Object (javascript)
0.1 (11-01-2012)
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
pyramid_amdjs-0.3.tar.gz
(212.7 kB
view details)
File details
Details for the file pyramid_amdjs-0.3.tar.gz.
File metadata
- Download URL: pyramid_amdjs-0.3.tar.gz
- Upload date:
- Size: 212.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
91c62aff94f3aa4273f262a046c3b239189dfa38add050dd39139fb2df167f13
|
|
| MD5 |
c3bc1c7a6a5ed816785dd27ab893d771
|
|
| BLAKE2b-256 |
62aead979c4b1e21b13fb16798657863a28d95091f29deae9c359c3281d6f332
|