UNPKG

modules

Version:
15 lines (12 loc) 481 B
go(["_reporter", "require"], function(amdJS, require) { // tests if there are empty dependencies, no arguments are // available in the factory's method define('emptyDeps', [], function() { amdJS.assert(arguments.length === 0, 'basic_empty_deps: [] should be treated as no dependencies instead of the default require, exports, module'); }); window.setTimeout(function() { require(['emptyDeps'], function () { amdJS.print('DONE', 'done'); }); }); });