Merge pull request #4571 from spalger/fix/4561

bable does not fully support subclassing Array
This commit is contained in:
Colin Goodheart-Smithe 2015-08-04 13:14:36 +01:00
commit 435cea4fc9
2 changed files with 5 additions and 1 deletions

View file

@ -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",

View file

@ -39,4 +39,8 @@ module.exports = class UiApps extends Array {
return this._byId || (this._byId = _.indexBy(this, 'id'));
}
toJSON() {
return this.slice(0);
}
};