Skip to content
Merged
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
4 changes: 0 additions & 4 deletions encodings/internal.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,6 @@ InternalCodec.prototype.decoder = InternalDecoder;
// We use node.js internal decoder. Its signature is the same as ours.
var StringDecoder = require('string_decoder').StringDecoder;

if (!StringDecoder.prototype.end) // Node v0.8 doesn't have this method.
StringDecoder.prototype.end = function() {};


function InternalDecoder(options, codec) {
this.decoder = new StringDecoder(codec.enc);
}
Expand Down
Loading