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