Namespace.js
Namespace.js copied to clipboard
Include multiple files asynchronously
I'd like the ability to include an array of modules. These would be loaded asynchronously and Namespace would invoke my callback once they are all loaded.
Namespace.include(["file1", "file2", "file3"], function() {
console.log("Done");
});