simple-amd
AMD loader for isolated module environment
Motivation
If you need some module system which does not touch anything in your desk, this would be a good choice.
Compared with r.js, our loader provides following things
- Isolated loader system
r.js declares shared module system, so it cannot hide some of your module from others. - In-house loader plugin
we're trying to make
simple-amd
to user.js
loader plugins, additionally some loader plugins are included that helps to get data from pouchdb. we also welcome plugin suggestion, please file an issue if needed.
Usage
const Loader = Loader;const React = ; // module to be exposed to your module system. const loader = {};loader;loader;
To use loader with default plugins, use default-loader
const PouchDB = ;const React = ;const ReactDOM = ; const create_loader = create_loader;const db = YOUR_HOST; const loader = ;loader;