register bare views

This commit is contained in:
Sylvain Corlay 2014-09-23 21:11:39 -04:00
parent 4ec1a3b41e
commit fb336de4ed

View File

@ -422,6 +422,8 @@ define(["widgets/js/manager",
});
widgetmanager.WidgetManager.register_widget_view('WidgetView', WidgetView);
var DOMWidgetView = WidgetView.extend({
initialize: function (parameters) {
// Public constructor
@ -593,6 +595,8 @@ define(["widgets/js/manager",
},
});
widgetmanager.WidgetManager.register_widget_view('DOMWidgetView', DOMWidgetView);
var widget = {
'WidgetModel': WidgetModel,
'WidgetView': WidgetView,