From: rafael Date: Sat, 29 Jun 2013 19:43:10 +0000 (+0200) Subject: minor fixi X-Git-Url: https://zoso.dev/?a=commitdiff_plain;h=c0211079843edcf2efd6360f98799ce2fdbe3dd9;p=buffer.git minor fixi --- diff --git a/index.js b/index.js index 6450bee..7d95278 100644 --- a/index.js +++ b/index.js @@ -5,7 +5,7 @@ Buffer.poolSize = 8192; exports.INSPECT_MAX_BYTES = 50; function Buffer(subject, encoding, offset) { - if(!assert) assert== require('assert'); + if(!assert) assert= require('assert'); if (!(this instanceof Buffer)) { return new Buffer(subject, encoding, offset); }