Merge pull request #4571 from spalger/fix/4561
bable does not fully support subclassing Array
This commit is contained in:
commit
435cea4fc9
|
@ -129,7 +129,7 @@
|
|||
"grunt-contrib-clean": "^0.6.0",
|
||||
"grunt-contrib-compress": "^0.13.0",
|
||||
"grunt-contrib-copy": "^0.8.0",
|
||||
"grunt-esvm": "^1.0.1",
|
||||
"grunt-esvm": "^1.1.3",
|
||||
"grunt-karma": "^0.12.0",
|
||||
"grunt-replace": "^0.7.9",
|
||||
"grunt-run": "spalger/grunt-run#master",
|
||||
|
|
|
@ -39,4 +39,8 @@ module.exports = class UiApps extends Array {
|
|||
return this._byId || (this._byId = _.indexBy(this, 'id'));
|
||||
}
|
||||
|
||||
toJSON() {
|
||||
return this.slice(0);
|
||||
}
|
||||
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue