19 lines
374 B
JavaScript
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();
|
|
}
|
|
);
|