AmdJS for Pyramid
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($) {
$('...').
}
)
To include your module to page:
def my_view(request):
request.require_js('my-package')
Support and Documentation
On irc, use the freenode network and find us on channels, #ptahproject and #pyramid.
Documentation can be found in docs directory. You can also see it online at http://pyramid_amdjs.readthedocs.org/
Report bugs at pyramid_amdjs @ Github
License
pyramid_amdjs is offered under the MIT license.
CHANGES
0.5.4 (02-19-2013)
Upgrade handlebars compiler
0.5.3 (02-15-2013)
Bootstrap - 2.3.0
JQuery - 1.9.1
Handlebars - 1.0.0.rc.3
0.5.2 (01-18-2013)
Fix css resource registration
0.5.1 (01-18-2013)
Do not add .css to css module name
request.require alias for require_js
0.5 (01-17-2013)
js refactoring
hb templates splited to separate js
datetime hb helper is optional
added backbonejs
0.4 (01-15-2013)
Automatic mods inclusion
Static resource management
jQuery 1.9.0
0.3.2 (01-08-2013)
Fixed reading resource files with non ascii content
0.3.1 (01-07-2013)
Show amd module define exception (curljs)
Added helper pform js mod
0.3 (01-03-2013)
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
Metadata
Release files for pyramid_amdjs 0.5.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pyramid_amdjs-0.5.4.tar.gz | 317.5 kB | Without provenance | Details for pyramid_amdjs-0.5.4.tar.gz |
Release files / pyramid_amdjs-0.5.4.tar.gz
| Download URL | pyramid_amdjs-0.5.4.tar.gz |
|---|---|
| Size | 317.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
81b346e80bcdc028769710950461445f9c6d6d9f3a768406ca7cb705304b2409
|
|
BLAKE2b-256 checksum How to use checksums |
1c9698332dcc73cae2cd698382e2c428dc2442480abb3aa90897305af49be131
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for pyramid_amdjs 0.5.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.