23 lines
474 B
JavaScript
23 lines
474 B
JavaScript
|
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();
|
||
|
});
|