Skip to main content

Pyramid JS/CSS resource management with curl.js

Project description

https://travis-ci.org/fafhrd91/pyramid_amdjs.png

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.2 (01-08-2012)

  • Fixed reading resource files with non ascii content

0.3.1 (01-07-2012)

  • Show amd module define exception (curljs)

  • Added helper pform js mod

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


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.2.tar.gz (213.4 kB view details)

Uploaded Source

File details

Details for the file pyramid_amdjs-0.3.2.tar.gz.

File metadata

File hashes

Hashes for pyramid_amdjs-0.3.2.tar.gz
Algorithm Hash digest
SHA256 02fbf42263789973a478115fdaa48c9fbf228fecdf58883a4a26d558940e6682
MD5 c30aa34808272ea2188930f051919e30
BLAKE2b-256 a64cebdf9832f76972586469a6c854a984c99d1ec3fd862b0b8459d9b1818cdf

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page