3.0 source code
This commit is contained in:
22
OfficeWeb/vendor/requirejs/tests/plugins/pluginShim/pluginShim-tests.js
vendored
Normal file
22
OfficeWeb/vendor/requirejs/tests/plugins/pluginShim/pluginShim-tests.js
vendored
Normal file
@@ -0,0 +1,22 @@
|
||||
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();
|
||||
});
|
||||
Reference in New Issue
Block a user