diff --git a/.jshintrc b/.jshintrc index c95e9dbc4..761c69159 100644 --- a/.jshintrc +++ b/.jshintrc @@ -12,6 +12,7 @@ "unused": true, "futurehostile":true, "browser": true, + "esversion": 6, "predef": [ "console", "define", diff --git a/www/common/boot2.js b/www/common/boot2.js index d143da87d..097d76489 100644 --- a/www/common/boot2.js +++ b/www/common/boot2.js @@ -54,11 +54,6 @@ define([ }; } - // RPC breaks if you don't support Number.MAX_SAFE_INTEGER - if (Number && !Number.MAX_SAFE_INTEGER) { - Number.MAX_SAFE_INTEGER = 9007199254740991; - } - var failStore = function () { console.error(new Error('wut')); require(['jquery'], function ($) { diff --git a/www/common/sframe-boot2.js b/www/common/sframe-boot2.js index 66a93545f..647a520af 100644 --- a/www/common/sframe-boot2.js +++ b/www/common/sframe-boot2.js @@ -13,11 +13,6 @@ define([ }; } - // RPC breaks if you don't support Number.MAX_SAFE_INTEGER - if (Number && !Number.MAX_SAFE_INTEGER) { - Number.MAX_SAFE_INTEGER = 9007199254740991; - } - var mkFakeStore = function () { var fakeStorage = { getItem: function (k) { return fakeStorage[k]; },