-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Description
for (var _a = __values(Object.keys(this.defaultOptions)), _b = _a.next(); !_b.done; _b = _a.next()) {
var key = _b.value;
if (!this.options.hasOwnProperty(key)) {
this.options = this.defaultOptions[key];
}
}
I have found this piece of code in ngx-grid-stack.js. And I think it should be:
this.options[key] = this.defaultOptions[key]
this way this.options is always equal to the last undefined value from Options object
Metadata
Metadata
Assignees
Labels
No labels