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

22 lines
711 B
JavaScript
Raw Normal View History

2016-03-11 00:48:53 +00:00
require({
baseUrl: requirejs.isBrowser ? './' : './circular/complexPlugin'
},
["require", "main"],
function(require, main) {
doh.register(
"circularComplexPlugin",
[
function circularComplexPlugin(t) {
t.is("main", main.name);
t.is('viewport', main.viewport.name);
t.is('viewportTemplate', main.viewport.template);
t.is('toolbar', main.viewport.toolbar.name);
t.is('toolbarTemplate', main.viewport.toolbar.template);
t.is('helper', main.helper.name);
}
]
);
doh.run();
}
);