[Glitch] Remove isNaN polyfill
Port 169b9c9b13
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
parent
6a5a699fbb
commit
57e9fc7e5a
2 changed files with 0 additions and 6 deletions
|
@ -4,7 +4,6 @@ import 'es6-symbol/implement';
|
|||
import includes from 'array-includes';
|
||||
import assign from 'object-assign';
|
||||
import values from 'object.values';
|
||||
import isNaN from 'is-nan';
|
||||
import { decode as decodeBase64 } from './utils/base64';
|
||||
import promiseFinally from 'promise.prototype.finally';
|
||||
|
||||
|
@ -20,10 +19,6 @@ if (!Object.values) {
|
|||
values.shim();
|
||||
}
|
||||
|
||||
if (!Number.isNaN) {
|
||||
Number.isNaN = isNaN;
|
||||
}
|
||||
|
||||
promiseFinally.shim();
|
||||
|
||||
if (!HTMLCanvasElement.prototype.toBlob) {
|
||||
|
|
|
@ -15,7 +15,6 @@ function loadPolyfills() {
|
|||
Array.prototype.includes &&
|
||||
HTMLCanvasElement.prototype.toBlob &&
|
||||
window.Intl &&
|
||||
Number.isNaN &&
|
||||
Object.assign &&
|
||||
Object.values &&
|
||||
window.Symbol &&
|
||||
|
|
Loading…
Reference in a new issue