web-apps/vendor/requirejs/tests/plugins/nameOnly-tests.js

16 lines
333 B
JavaScript
Raw Normal View History

2016-03-11 00:48:53 +00:00
require({
baseUrl: requirejs.isBrowser ? "./" : "./plugins/"
}, ['require', 'nameOnly!'],
function (require, nameOnly) {
doh.register(
"pluginsNameOnly",
[
function pluginsNameOnly(t){
t.is("nameOnly", nameOnly.name);
}
]
);
doh.run();
});