Script.js

Component ID

1461062

Component name

Script.js

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Downloads

4030

Component created

Component changed

Component body

Integration with $script.js - Async JavaScript loader and dependency manager.

This takes some of the ideas behind the HeadJS module which unfortunately has been discontinued and applies them to the very excellent $script.js library by Dustin Diaz, which seems like a more robust script loader implementation.

Let's see how it plays with Drupal! :)

On Script Loaders

Since downloading many small files at the same time is faster than downloading one big file, $script.js makes pages load blazingly fast and is especially beneficial for mobile browsers who may limit the size of individually cached javascript files.

Dependencies

This module depends on the $script.js library, please download and extract it to your sites/all/libraries directory or, if you use Drush:

drush scriptjs-download

Support

For bug reports and feature requests, please file an issue. Thanks!

If you want to use a script-loader but are unsure about $script.js, check out LabJS or HeadJS.

Maintainer

The maintainer provides consulting services and paid development, e.g. for implementing a specific feature. Help improving the module and get in contact!