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

22 lines
711 B
JavaScript

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