update jshintrc to es6 and stop polyfilling for apps

pull/1/head
ansuz 3 years ago
parent eb4563b914
commit bf148ca92c

@ -12,6 +12,7 @@
"unused": true, "unused": true,
"futurehostile":true, "futurehostile":true,
"browser": true, "browser": true,
"esversion": 6,
"predef": [ "predef": [
"console", "console",
"define", "define",

@ -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 () { var failStore = function () {
console.error(new Error('wut')); console.error(new Error('wut'));
require(['jquery'], function ($) { require(['jquery'], function ($) {

@ -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 mkFakeStore = function () {
var fakeStorage = { var fakeStorage = {
getItem: function (k) { return fakeStorage[k]; }, getItem: function (k) { return fakeStorage[k]; },

Loading…
Cancel
Save