]> zoso.dev Git - buffer.git/commitdiff
minor fixi
authorrafael <rvalle@livelens.net>
Sat, 29 Jun 2013 19:43:10 +0000 (21:43 +0200)
committerrafael <rvalle@livelens.net>
Sat, 29 Jun 2013 19:43:10 +0000 (21:43 +0200)
index.js

index 6450bee4171c9d0bebc133e898f87ef8c3670277..7d95278ae2136ea32db2c2515408b39e7fcd9408 100644 (file)
--- 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);
   }