diff --git a/src/core/h.js b/src/core/h.js index 22326288a..b768b1415 100644 --- a/src/core/h.js +++ b/src/core/h.js @@ -48,7 +48,7 @@ BI.h = function (type, props, children) { if (BI.isFunction(children[0])) { return BI.extend({ type: type - }, { text: children[0], items: children[0] }, props); + }, { items: children[0] }, props); } }