web-apps/vendor/requirejs/tests/circular/circularPlugin-tests.js
Maxim Kadushkin 741b10515d webapps added
2016-03-10 21:48:53 -03:00

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();
}
);