Files
DocumentServer-v-9.2.0/web-apps/vendor/requirejs/tests/plugins/pluginBundlesSeparateText/pluginBundlesSeparateText-tests.js
Yajbir Singh f1b860b25c
Some checks failed
check / markdownlint (push) Has been cancelled
check / spellchecker (push) Has been cancelled
updated
2025-12-11 19:03:17 +05:30

22 lines
489 B
JavaScript

require({
paths: {
'text': '../../../../text/text'
},
bundles: {
'main': ['text!template.html']
}
}, ['text!template.html', 'text!second.html'], function (template, secondTemplate) {
doh.register(
'pluginBundlesSeparateText',
[
function pluginBundlesSeparateText(t){
t.is('main template', template);
t.is('second template', secondTemplate);
}
]
);
doh.run();
});