aboutsummaryrefslogtreecommitdiff
path: root/node_modules/pako/lib/utils/strings.js
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2017-12-10 21:51:33 +0100
committerFlorian Dold <florian.dold@gmail.com>2017-12-10 21:51:33 +0100
commit0469abd4a9c9270a1fdc962969e36e63699af8b4 (patch)
treef9864d4a4148621378958794cbbfdc2393733283 /node_modules/pako/lib/utils/strings.js
parent6947e79bbc258f7bc96af424ddb71a511f0c15a3 (diff)
upgrade dependencies
Diffstat (limited to 'node_modules/pako/lib/utils/strings.js')
-rw-r--r--node_modules/pako/lib/utils/strings.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/node_modules/pako/lib/utils/strings.js b/node_modules/pako/lib/utils/strings.js
index 1a0499c34..313c27b9b 100644
--- a/node_modules/pako/lib/utils/strings.js
+++ b/node_modules/pako/lib/utils/strings.js
@@ -8,7 +8,7 @@ var utils = require('./common');
// Quick check if we can use fast array to bin string conversion
//
// - apply(Array) can fail on Android 2.2
-// - apply(Uint8Array) can fail on iOS 5.1 Safary
+// - apply(Uint8Array) can fail on iOS 5.1 Safari
//
var STR_APPLY_OK = true;
var STR_APPLY_UIA_OK = true;
@@ -173,11 +173,11 @@ exports.utf8border = function (buf, max) {
pos = max - 1;
while (pos >= 0 && (buf[pos] & 0xC0) === 0x80) { pos--; }
- // Fuckup - very small and broken sequence,
+ // Very small and broken sequence,
// return max, because we should return something anyway.
if (pos < 0) { return max; }
- // If we came to start of buffer - that means vuffer is too small,
+ // If we came to start of buffer - that means buffer is too small,
// return max too.
if (pos === 0) { return max; }