12 lines
269 B
JavaScript
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
|
||
|
};
|
||
|
}
|
||
|
);
|