DocumentServer/OfficeWeb/vendor/requirejs/tests/cjsSpace/cjsDotRequire-tests.js
2015-04-28 17:59:00 +03:00

19 lines
374 B
JavaScript

require({
baseUrl: './'
},
['a', 'c'],
function(a, c) {
doh.register(
'cjsDotRequire',
[
function cjsDotRequire(t){
t.is('a', a.name);
t.is('b', a.b.name);
t.is('c', c.name);
}
]
);
doh.run();
}
);