3.0 source code
This commit is contained in:
16
OfficeWeb/vendor/requirejs/tests/plugins/pluginBundles/main.js
vendored
Normal file
16
OfficeWeb/vendor/requirejs/tests/plugins/pluginBundles/main.js
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
define('text', [], {
|
||||
load: function () {
|
||||
throw new Error('not implemented');
|
||||
}
|
||||
});
|
||||
|
||||
define('text!template.html', [], function () {
|
||||
return 'main template';
|
||||
});
|
||||
|
||||
define('main', ['text!template.html'], function(template) {
|
||||
return {
|
||||
name: 'main',
|
||||
template: template
|
||||
};
|
||||
});
|
||||
Reference in New Issue
Block a user