@@ -18,7 +18,8 export abstract class BuildContextBase { | |||||
18 | this._setAttrs(v); |
|
18 | this._setAttrs(v); | |
19 | else |
|
19 | else | |
20 | mixin(this._attrs, v); |
|
20 | mixin(this._attrs, v); | |
21 |
|
21 | } else if (v instanceof Array) { | ||
|
22 | v.forEach(x => this._addChild(x)); | |||
22 | } else { |
|
23 | } else { | |
23 | if (this._created) |
|
24 | if (this._created) | |
24 | this._addChild(v); |
|
25 | this._addChild(v); |
General Comments 0
You need to be logged in to leave comments.
Login now