diff options
Diffstat (limited to 'node_modules/pako/lib/utils/strings.js')
-rw-r--r-- | node_modules/pako/lib/utils/strings.js | 6 |
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; } |