neuronjs
Version:
Neuron is A Full Feature CommonJS Module Manager, Dependency Graph Handler and Loader for Browsers
27 lines (20 loc) • 547 B
JavaScript
/**
* @preserve Neuron JavaScript Framework (c) Kael Zhang <i@kael.me>
*/
// Goal
// Manage module dependencies and initialization
// Non-goal
// > What neuron will never do
// 1. Neuron will never care about non-browser environment
// 2. Neuron core will never care about module loading
;
var neuron = {
version: '@VERSION'
};
var NULL = null;
var FALSE = !1;
// // Check and make sure the module is downloaded,
// // if not, it will download the module
// neuron.load = function (module, callback){
// callback();
// }