|
|
@ -6,6 +6,7 @@ import assign from 'object-assign'; |
|
|
|
import values from 'object.values'; |
|
|
|
import values from 'object.values'; |
|
|
|
import isNaN from 'is-nan'; |
|
|
|
import isNaN from 'is-nan'; |
|
|
|
import { decode as decodeBase64 } from './base64'; |
|
|
|
import { decode as decodeBase64 } from './base64'; |
|
|
|
|
|
|
|
import promiseFinally from 'promise.prototype.finally'; |
|
|
|
|
|
|
|
|
|
|
|
if (!Array.prototype.includes) { |
|
|
|
if (!Array.prototype.includes) { |
|
|
|
includes.shim(); |
|
|
|
includes.shim(); |
|
|
@ -23,6 +24,8 @@ if (!Number.isNaN) { |
|
|
|
Number.isNaN = isNaN; |
|
|
|
Number.isNaN = isNaN; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
promiseFinally.shim(); |
|
|
|
|
|
|
|
|
|
|
|
if (!HTMLCanvasElement.prototype.toBlob) { |
|
|
|
if (!HTMLCanvasElement.prototype.toBlob) { |
|
|
|
const BASE64_MARKER = ';base64,'; |
|
|
|
const BASE64_MARKER = ';base64,'; |
|
|
|
|
|
|
|
|
|
|
|