We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 825e737 commit 62b25f6Copy full SHA for 62b25f6
lib/flate.js
@@ -1,7 +1,6 @@
1
"use strict";
2
var USE_TYPEDARRAY = (typeof Uint8Array !== "undefined") && (typeof Uint16Array !== "undefined") && (typeof Uint32Array !== "undefined");
3
4
-var pako = require("pako");
5
var utils = require("./utils");
6
var GenericWorker = require("./stream/GenericWorker");
7
@@ -64,6 +63,7 @@ FlateWorker.prototype.cleanUp = function () {
64
63
* issue #446.
65
*/
66
FlateWorker.prototype._createPako = function () {
+ var pako = require("pako");
67
this._pako = new pako[this._pakoAction]({
68
chunkSize: 65536,
69
raw: true,
0 commit comments