aboutsummaryrefslogtreecommitdiffstats
path: root/lib/autoprovider.js
diff options
context:
space:
mode:
authorMarek Kotewicz <marek.kotewicz@gmail.com>2015-01-07 18:16:27 +0800
committerMarek Kotewicz <marek.kotewicz@gmail.com>2015-01-07 18:16:27 +0800
commit6c160adab3a6723b59ef2c6f1a209bf3806e400b (patch)
tree0cda87cf5cc9bf7694145243a1979673c1f46a99 /lib/autoprovider.js
parent1954b878191e08db04188f0934b15ebe8c2c5a84 (diff)
parentb6232cfdd1f23447d900728be0b142d05aca0009 (diff)
downloadgo-tangerine-6c160adab3a6723b59ef2c6f1a209bf3806e400b.tar
go-tangerine-6c160adab3a6723b59ef2c6f1a209bf3806e400b.tar.gz
go-tangerine-6c160adab3a6723b59ef2c6f1a209bf3806e400b.tar.bz2
go-tangerine-6c160adab3a6723b59ef2c6f1a209bf3806e400b.tar.lz
go-tangerine-6c160adab3a6723b59ef2c6f1a209bf3806e400b.tar.xz
go-tangerine-6c160adab3a6723b59ef2c6f1a209bf3806e400b.tar.zst
go-tangerine-6c160adab3a6723b59ef2c6f1a209bf3806e400b.zip
Merge pull request #21 from debris/master
fixed gulp build
Diffstat (limited to 'lib/autoprovider.js')
-rw-r--r--lib/autoprovider.js7
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/autoprovider.js b/lib/autoprovider.js
index bfbc3ab6e..2f0a3e627 100644
--- a/lib/autoprovider.js
+++ b/lib/autoprovider.js
@@ -27,12 +27,11 @@
* if it fails, it uses HttpRpcProvider
*/
-// TODO: work out which of the following two lines it is supposed to be...
-//if (process.env.NODE_ENV !== 'build') {
-if ("build" !== 'build') {/*
+// TODO: is these line is supposed to be here?
+if (process.env.NODE_ENV !== 'build') {
var WebSocket = require('ws'); // jshint ignore:line
var web3 = require('./main.js'); // jshint ignore:line
-*/}
+}
var AutoProvider = function (userOptions) {
if (web3.haveProvider()) {