39
edits
Petermichaux (talk | contribs) |
Petermichaux (talk | contribs) |
||
| Line 153: | Line 153: | ||
// math.js | // math.js | ||
// | // | ||
var modules["math"] = function(require, exports) { | |||
exports.add = function() { | exports.add = function() { | ||
| Line 163: | Line 163: | ||
}; | }; | ||
} | }; | ||
| Line 169: | Line 169: | ||
// increment.js | // increment.js | ||
// | // | ||
var modules["increment"] = function(require, exports) { | |||
var add = require('math').add; | var add = require('math').add; | ||
| Line 176: | Line 176: | ||
}; | }; | ||
} | }; | ||
edits