|
|
@ -70,7 +70,7 @@ if (!_global.BI) { |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
isWidget: function (widget) { |
|
|
|
isWidget: function (widget) { |
|
|
|
return widget instanceof BI.Widget || (BI.View && widget instanceof BI.View); |
|
|
|
return widget instanceof BI.Widget; |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
createWidgets: function (items, options, context) { |
|
|
|
createWidgets: function (items, options, context) { |
|
|
@ -107,7 +107,7 @@ if (!_global.BI) { |
|
|
|
el: innerAttr.shift() |
|
|
|
el: innerAttr.shift() |
|
|
|
}); |
|
|
|
}); |
|
|
|
} |
|
|
|
} |
|
|
|
if (item.el instanceof BI.Widget || (BI.View && item.el instanceof BI.View)) { |
|
|
|
if (item.el instanceof BI.Widget) { |
|
|
|
innerAttr.shift(); |
|
|
|
innerAttr.shift(); |
|
|
|
return BI.extend({}, outerAttr.shift(), { type: null }, item); |
|
|
|
return BI.extend({}, outerAttr.shift(), { type: null }, item); |
|
|
|
} |
|
|
|
} |
|
|
|