https://github.com/oldj/simple-js-module-loader
a simple js module loader.
https://github.com/oldj/simple-js-module-loader
Last synced: about 1 year ago
JSON representation
a simple js module loader.
- Host: GitHub
- URL: https://github.com/oldj/simple-js-module-loader
- Owner: oldj
- License: mit
- Created: 2015-07-19T07:44:08.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2016-01-20T09:29:30.000Z (over 10 years ago)
- Last Synced: 2025-04-07T16:16:39.545Z (about 1 year ago)
- Language: JavaScript
- Size: 7.81 KB
- Stars: 11
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# simple-js-module-loader
a simple js module loader.
## usage
```html
a simple js loader
a simple js loader.
myloader.register([{
name: "a",
url: "./ma.js"
}, {
name: "b",
url: "./mb.js"
}, {
name: "c",
url: "./mc.js"
}, {
name: "d",
url: "./md.js"
}]);
myloader.use("a", function (a) {
a.hello();
});
```