3.0 source code
This commit is contained in:
17
OfficeWeb/vendor/requirejs/tests/plugins/pluginBundles/pluginBundles-tests.js
vendored
Normal file
17
OfficeWeb/vendor/requirejs/tests/plugins/pluginBundles/pluginBundles-tests.js
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
require({
|
||||
bundles: {
|
||||
'main': ['text', 'text!template.html']
|
||||
}
|
||||
}, ['text!template.html'], function (template) {
|
||||
|
||||
doh.register(
|
||||
'pluginBundles',
|
||||
[
|
||||
function pluginBundles(t){
|
||||
t.is('main template', template);
|
||||
}
|
||||
]
|
||||
);
|
||||
doh.run();
|
||||
|
||||
});
|
||||
Reference in New Issue
Block a user