kura
Version:
The FileSystem API abstraction library.
12 lines • 436 B
JavaScript
;
const globalVar = typeof window !== "undefined"
? window
: typeof global !== "undefined"
? global
: Function("return this;")();
if (!globalVar.TextDecoder || !globalVar.TextEncoder) {
const TextEncodingShim = require("text-encoding-shim");
globalVar.TextDecoder = TextEncodingShim.TextDecoder;
globalVar.TextEncoder = TextEncodingShim.TextEncoder;
}
//# sourceMappingURL=polyfill.js.map