web-apps/vendor/requirejs/tests/circular/circularPlugin-tests.js

19 lines
437 B
JavaScript
Raw Normal View History

2016-03-11 00:48:53 +00:00
require({
baseUrl: requirejs.isBrowser ? './' : './circular'
},
["require", "plugin!a"],
function(require, a) {
doh.register(
"circularPlugin",
[
function circularPlugin(t) {
t.is("a", a.name);
t.is("b", a.b.name);
t.is("c", a.b.c.name);
}
]
);
doh.run();
}
);