|
|
@ -22,7 +22,7 @@ BI.h = function (type, props, children) { |
|
|
|
return children; |
|
|
|
return children; |
|
|
|
} |
|
|
|
} |
|
|
|
if (BI.isFunction(type)) { |
|
|
|
if (BI.isFunction(type)) { |
|
|
|
type = type.xtype; |
|
|
|
type = type.xtype || type; |
|
|
|
} |
|
|
|
} |
|
|
|
if (type === "el") { |
|
|
|
if (type === "el") { |
|
|
|
return BI.extend({ |
|
|
|
return BI.extend({ |
|
|
@ -32,4 +32,4 @@ BI.h = function (type, props, children) { |
|
|
|
return BI.extend({ |
|
|
|
return BI.extend({ |
|
|
|
type: type, |
|
|
|
type: type, |
|
|
|
}, children.length > 0 ? {items: children} : {}, props); |
|
|
|
}, children.length > 0 ? {items: children} : {}, props); |
|
|
|
}; |
|
|
|
}; |
|
|
|