diff --git a/package.json b/package.json index f20dfe8a79532..fbf3f9f5f4cd7 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/src/ui/UiApps.js b/src/ui/UiApps.js index 8ec2dd8612d6d..a94ff7c614691 100644 --- a/src/ui/UiApps.js +++ b/src/ui/UiApps.js @@ -39,4 +39,8 @@ module.exports = class UiApps extends Array { return this._byId || (this._byId = _.indexBy(this, 'id')); } + toJSON() { + return this.slice(0); + } + };