diff --git a/CHANGELOG.md b/CHANGELOG.md index dcff0d44..90a10970 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,7 +5,8 @@ - bug fixes - regression breaking touch traversing gestures - clone widgets becomming unselectable for edition - + - `preArgs` property still being coerced to an array + ## 0.30.3 - bug fixes diff --git a/src/browser/js/app/widgets/common/widget.js b/src/browser/js/app/widgets/common/widget.js index b3f334f5..3a70dcd9 100644 --- a/src/browser/js/app/widgets/common/widget.js +++ b/src/browser/js/app/widgets/common/widget.js @@ -49,11 +49,6 @@ class Widget extends EventEmitter { this.hash = shortid.generate() this.childrenHashes = [] - // Turn preArgs into array - if (this.props.preArgs !== undefined && !Array.isArray(this.resolveProp('preArgs', undefined, false))) { - this.props.preArgs = [this.props.preArgs] - } - // strip parent ? no position if (this.parent && this.parent.props && this.parent.props.type == 'strip') { delete this.props.top