summaryrefslogtreecommitdiff
path: root/vendor/pako
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2017-06-02 15:11:05 +0200
committerPierre Ossman <ossman@cendio.se>2017-06-02 15:41:37 +0200
commit858ea4a77422ab0d1c7cbbd92c28600bd29113ed (patch)
tree6da704da53d286f5bb9097052257d6fefa0960e5 /vendor/pako
parent493ad1a24b7932522bb4042a4911249a1811b231 (diff)
downloadnovnc-858ea4a77422ab0d1c7cbbd92c28600bd29113ed.tar.gz
Avoid use of 'let' and 'const'
They are not supported on older browsers, e.g. iOS 9.
Diffstat (limited to 'vendor/pako')
-rw-r--r--vendor/pako/lib/utils/common.js6
-rw-r--r--vendor/pako/lib/zlib/deflate.js2
-rw-r--r--vendor/pako/lib/zlib/inflate.js2
3 files changed, 5 insertions, 5 deletions
diff --git a/vendor/pako/lib/utils/common.js b/vendor/pako/lib/utils/common.js
index db7a31e..576fd59 100644
--- a/vendor/pako/lib/utils/common.js
+++ b/vendor/pako/lib/utils/common.js
@@ -40,6 +40,6 @@ export function flattenChunks (chunks) {
return result;
}
-export const Buf8 = Uint8Array;
-export const Buf16 = Uint16Array;
-export const Buf32 = Int32Array;
+export var Buf8 = Uint8Array;
+export var Buf16 = Uint16Array;
+export var Buf32 = Int32Array;
diff --git a/vendor/pako/lib/zlib/deflate.js b/vendor/pako/lib/zlib/deflate.js
index ec3666d..0588e04 100644
--- a/vendor/pako/lib/zlib/deflate.js
+++ b/vendor/pako/lib/zlib/deflate.js
@@ -1834,7 +1834,7 @@ function deflateSetDictionary(strm, dictionary) {
export { deflateInit, deflateInit2, deflateReset, deflateResetKeep, deflateSetHeader, deflate, deflateEnd, deflateSetDictionary };
-export const deflateInfo = 'pako deflate (from Nodeca project)';
+export var deflateInfo = 'pako deflate (from Nodeca project)';
/* Not implemented
exports.deflateBound = deflateBound;
diff --git a/vendor/pako/lib/zlib/inflate.js b/vendor/pako/lib/zlib/inflate.js
index 2558bd1..b79b396 100644
--- a/vendor/pako/lib/zlib/inflate.js
+++ b/vendor/pako/lib/zlib/inflate.js
@@ -1514,7 +1514,7 @@ function inflateSetDictionary(strm, dictionary) {
}
export { inflateReset, inflateReset2, inflateResetKeep, inflateInit, inflateInit2, inflate, inflateEnd, inflateGetHeader, inflateSetDictionary };
-export const inflateInfo = 'pako inflate (from Nodeca project)';
+export var inflateInfo = 'pako inflate (from Nodeca project)';
/* Not implemented
exports.inflateCopy = inflateCopy;