Browse Source

expose ./Connection so it works in the browser

patch-2
Ryan X. Charles 11 years ago
parent
commit
ba7de86ee4
  1. 3
      browserify.js

3
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} );
});

Loading…
Cancel
Save