From 18630bb2b12235f080d53169a454642db7b8a7a6 Mon Sep 17 00:00:00 2001 From: Manuel Araoz Date: Wed, 26 Mar 2014 12:00:03 -0300 Subject: [PATCH] fix browser tests --- bitcore.js | 1 + browser/build.js | 3 +++ test/index.html | 1 + 3 files changed, 5 insertions(+) diff --git a/bitcore.js b/bitcore.js index 79e8ffb..568f023 100644 --- a/bitcore.js +++ b/bitcore.js @@ -12,6 +12,7 @@ var requireWhenAccessed = function(name, file) { requireWhenAccessed('bignum', 'bignum'); requireWhenAccessed('base58', 'base58-native'); +requireWhenAccessed('bufferput', 'bufferput'); requireWhenAccessed('buffertools', 'buffertools'); requireWhenAccessed('config', './config'); requireWhenAccessed('const', './const'); diff --git a/browser/build.js b/browser/build.js index 736ae3d..f3816e5 100644 --- a/browser/build.js +++ b/browser/build.js @@ -89,6 +89,9 @@ var createBitcore = function(opts) { b.require(opts.dir + 'browserify-buffertools/buffertools.js', { expose: 'buffertools' }); + b.require(opts.dir + 'bufferput', { + expose: 'bufferput' + }); b.require(opts.dir + 'base58-native', { expose: 'base58-native' }); diff --git a/test/index.html b/test/index.html index bbd0d61..5351712 100644 --- a/test/index.html +++ b/test/index.html @@ -31,6 +31,7 @@ +