polyfill MAX_SAFE_INTEGER everywhere

pull/1/head
ansuz 7 years ago
parent 3858aa976a
commit 1dd07ea48a

@ -21,6 +21,11 @@ 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 ($) {

Loading…
Cancel
Save