mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
Merge pull request #4571 from spalger/fix/4561
bable does not fully support subclassing Array
This commit is contained in:
commit
435cea4fc9
2 changed files with 5 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue