Fix legacy options not being read for some widgets

This commit is contained in:
nathangray
2020-03-30 10:28:48 -06:00
parent c937f50193
commit 1da1cb7b99
42 changed files with 320 additions and 323 deletions

View File

@@ -123,9 +123,6 @@ var et2_widget = /** @class */ (function (_super) {
*/
function et2_widget(_parent, _attrs, _child) {
var _this = _super.call(this) || this;
// Set the legacyOptions array to the names of the properties the "options"
// attribute defines.
_this.legacyOptions = [];
_this._children = [];
_this._mgrs = {};
/**
@@ -900,6 +897,9 @@ var et2_widget = /** @class */ (function (_super) {
"description": "Object of widget attributes"
}
};
// Set the legacyOptions array to the names of the properties the "options"
// attribute defines.
et2_widget.legacyOptions = [];
return et2_widget;
}(et2_core_inheritance_1.ClassWithAttributes));
exports.et2_widget = et2_widget;