Script Web 2.0 Applications & Sites

Suggest a site

modules.js

An XHR JavaScript module loader

modules.js - An XHR JavaScript module loader

http://modulesjs.com/

Tagged with: script

Posted on 21 giugno 2008

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.

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

Browse by month

Companies

About

  • About

Spread the word!

Extendi-anim-300x250