3.0 source code
This commit is contained in:
19
OfficeWeb/vendor/requirejs/tests/plugins/pluginMapSameName/pluginMapSameName-tests.js
vendored
Normal file
19
OfficeWeb/vendor/requirejs/tests/plugins/pluginMapSameName/pluginMapSameName-tests.js
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
require({
|
||||
map: {
|
||||
'*': {
|
||||
'plugin': 'plugin/plugin'
|
||||
}
|
||||
}
|
||||
}, ['plugin!foo'], function (value) {
|
||||
|
||||
doh.register(
|
||||
'pluginMapSameName',
|
||||
[
|
||||
function pluginMapSameName(t){
|
||||
t.is('foo', value);
|
||||
}
|
||||
]
|
||||
);
|
||||
doh.run();
|
||||
|
||||
});
|
||||
Reference in New Issue
Block a user