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

12 lines
269 B
JavaScript

define("widget",
["subwidget", "text!widget.html"],
function(subwidget, template) {
return {
subWidgetName: subwidget.name,
subWidgetTemplate: subwidget.template,
subWidgetTemplate2: subwidget.template2,
template: template
};
}
);