You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue can cause seemingly random issues with other scripts and libraries. For instance, this issue is the cause of our Intercom integration not working.
This overwrites Function.prototype.bind() even for browsers that have it natively. Even worse, this polyfill is not correct per the spec. bind() can take any number of additional arguments to pass to the bound function: fun.bind(thisArg[, arg1[, arg2[, ...]]]).
Please (a) conditionally assign the polyfill, and (b) use a better polyfill:
Function.prototype.bind=Function.prototype.bind||function(oThis){if(typeofthis!=="function"){// closest thing possible to the ECMAScript 5// internal IsCallable functionthrownewTypeError("Function.prototype.bind - what is trying to be bound is not callable");}varaArgs=Array.prototype.slice.call(arguments,1),fToBind=this,fNOP=function(){},fBound=function(){returnfToBind.apply(thisinstanceoffNOP&&oThis
? this
: oThis,aArgs.concat(Array.prototype.slice.call(arguments)));};fNOP.prototype=this.prototype;fBound.prototype=newfNOP();returnfBound;};
The text was updated successfully, but these errors were encountered:
Kartograph is incompatible with our cookie consent script
(kartograph/kartograph.js#59), so we're just
removing the GA tracking and the need for the consent script.
This issue can cause seemingly random issues with other scripts and libraries. For instance, this issue is the cause of our Intercom integration not working.
kartograph.js / src / core / proj.coffee, line 22:
This overwrites
Function.prototype.bind()
even for browsers that have it natively. Even worse, this polyfill is not correct per the spec.bind()
can take any number of additional arguments to pass to the bound function:fun.bind(thisArg[, arg1[, arg2[, ...]]])
.Please (a) conditionally assign the polyfill, and (b) use a better polyfill:
The text was updated successfully, but these errors were encountered: