From ba7de86ee46bde383348a68ba120b11015261bb8 Mon Sep 17 00:00:00 2001 From: "Ryan X. Charles" Date: Mon, 10 Mar 2014 13:28:28 -0400 Subject: [PATCH] expose ./Connection so it works in the browser --- browserify.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/browserify.js b/browserify.js index 202eb87..eedd0e6 100644 --- a/browserify.js +++ b/browserify.js @@ -32,7 +32,6 @@ var modules = [ 'Block', 'Bloom', 'Buffers.monkey', - 'Connection', 'Deserialize', 'Gruntfile', 'Number.monkey', @@ -69,6 +68,8 @@ b.add('./browser/bignum_config.js'); b.require('./test/testdata.js', {expose: './testdata'}); b.transform('brfs'); +b.require('./Connection', {expose: './Connection'}); + modules.forEach(function(m) { b.require('./' + m + '.js' ,{expose:m} ); });