3.0 source code
This commit is contained in:
18
OfficeWeb/vendor/requirejs/tests/circular/circularPlugin-tests.js
vendored
Normal file
18
OfficeWeb/vendor/requirejs/tests/circular/circularPlugin-tests.js
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
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();
|
||||
}
|
||||
);
|
||||
Reference in New Issue
Block a user