DocumentServer/OfficeWeb/vendor/requirejs/tests/circular/complexPlugin/complexPlugin-tests.js
2015-04-28 17:59:00 +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();
}
);