Select Edition: World / US

modules.js Rank Posted on June 21, 2008

modules.js - An XHR JavaScript module loader

An XHR JavaScript module loader

http://modulesjs.com/

Provides a module, modules.js, with the following features:

  • module loading
  • singleton modules (module object loaded and executed only the first time it’s required).
  • module-relative module URL references

A module is a JavaScript file. modules.js uses an XHR (HTTP request) to get the file’s text, the eval function to run the script, and with blocks to manage the scope chain in the script.

script · ·236 similars

Be the first to write a comment for modules.js:

Required
Required → will not be published
Optional