Minimalistic implementation of javascript AMD
JavaScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
js
README.md
index.html

README.md

AMD-js

Minimalistic implementation of javascript AMD

Example usage:

// Inline definition. define('bar', [], function (bar) { return { method1: function (){ return true; } }; });

// Require example. require(['bar', 'foo', 'util'], function (b, f, u) { console.log(b); console.log(f); console.log(u); });