DocumentServer/OfficeWeb/vendor/requirejs/tests/plugins/pluginBundles/main.js

17 lines
313 B
JavaScript
Raw Normal View History

2015-04-28 14:59:00 +00:00
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
};
});