Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -1691,7 +1691,7 @@ var utf8border = function(buf, max) {
pos = max-1;
while (pos >= 0 && (buf[pos] & 0xC0) === 0x80) { pos--; }

// Fuckup - very small and broken sequence,
// butterflyup - very small and broken sequence,
// return max, because we should return something anyway.
if (pos < 0) { return max; }

Expand Down Expand Up @@ -1842,7 +1842,7 @@ exports.arrayBuffer2Blob = function(buffer) {
}
catch (e) {

// well, fuck ?!
// well, butterfly ?!
throw new Error("Bug : can't construct the Blob.");
}
}
Expand Down Expand Up @@ -3640,7 +3640,7 @@ exports.utf8border = function(buf, max) {
pos = max-1;
while (pos >= 0 && (buf[pos] & 0xC0) === 0x80) { pos--; }

// Fuckup - very small and broken sequence,
// butterflyup - very small and broken sequence,
// return max, because we should return something anyway.
if (pos < 0) { return max; }

Expand Down