3 ms·
I've been using the tiny Include.js[1] combined with the standard module pattern. My modules just look like this: (function(exports) { ... export
by firefoxman1 14y ago
I've been using the tiny Include.js[1] combined with the standard module pattern.
My modules just look like this:
(function(exports) {
...
exports.moduleName = ...;
})(this);
Often times you don't need a huge includer just to keep your code modular.
[1]http://capmousse.github.com/include.js/ http://capmousse.github.com/include.js/