web-apps/vendor/requirejs/tests/plugins/pluginBundlesSeparateText/pluginBundlesSeparateText-tests.js
Maxim Kadushkin 741b10515d webapps added
2016-03-10 21:48:53 -03:00

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();
});