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

23 lines
474 B
JavaScript
Raw Normal View History

2016-03-11 00:48:53 +00:00
require({
baseUrl: requirejs.isBrowser ? './' : './plugins/pluginShim',
paths: {
'text': '../../../../text/text',
'refine': '../fromText/refine'
},
shim: {
'refine!a': ['!legacy']
}
}, ['refine!a'],
function (a) {
doh.register(
'pluginShim',
[
function pluginShim(t){
t.is('alegacy', a.name);
}
]
);
doh.run();
});