polyfill MAX_SAFE_INTEGER everywhere
This commit is contained in:
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…
x
Reference in New Issue
Block a user