]> zoso.dev Git - buffer.git/commitdiff
stub out SlowBuffer=Buffer and a phony poolSize to make this module look more like...
authorJames Halliday <mail@substack.net>
Wed, 20 Mar 2013 19:16:54 +0000 (12:16 -0700)
committerJames Halliday <mail@substack.net>
Wed, 20 Mar 2013 19:16:54 +0000 (12:16 -0700)
index.js

index 55c57d3e4c62405317ded1e411da23eebb194a74..a4bf90c63dd315454078e3fd55892a5d0b3e26c2 100644 (file)
--- a/index.js
+++ b/index.js
@@ -1,5 +1,7 @@
 var assert = require('assert');
 exports.Buffer = Buffer;
+exports.SlowBuffer = Buffer;
+Buffer.poolSize = 8192;
 exports.INSPECT_MAX_BYTES = 50;
 
 function Buffer(subject, encoding, offset) {