aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorMarek Kotewicz <marek.kotewicz@gmail.com>2015-01-08 22:11:20 +0800
committerMarek Kotewicz <marek.kotewicz@gmail.com>2015-01-08 22:11:20 +0800
commita8dde1714659d90665e4a891df3134aaaeab3f9c (patch)
treeda868eb738916e6b0478d8d71089bb256241d131 /lib
parent5208bb32f147bd00ba36ca684faba31c0cc7fc9a (diff)
downloadgo-tangerine-a8dde1714659d90665e4a891df3134aaaeab3f9c.tar
go-tangerine-a8dde1714659d90665e4a891df3134aaaeab3f9c.tar.gz
go-tangerine-a8dde1714659d90665e4a891df3134aaaeab3f9c.tar.bz2
go-tangerine-a8dde1714659d90665e4a891df3134aaaeab3f9c.tar.lz
go-tangerine-a8dde1714659d90665e4a891df3134aaaeab3f9c.tar.xz
go-tangerine-a8dde1714659d90665e4a891df3134aaaeab3f9c.tar.zst
go-tangerine-a8dde1714659d90665e4a891df3134aaaeab3f9c.zip
fixes for node.js
Diffstat (limited to 'lib')
-rw-r--r--lib/autoprovider.js2
-rw-r--r--lib/contract.js2
-rw-r--r--lib/web3.js (renamed from lib/main.js)0
3 files changed, 2 insertions, 2 deletions
diff --git a/lib/autoprovider.js b/lib/autoprovider.js
index 2f0a3e627..113873674 100644
--- a/lib/autoprovider.js
+++ b/lib/autoprovider.js
@@ -30,7 +30,7 @@
// 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 web3 = require('./web3'); // jshint ignore:line
}
var AutoProvider = function (userOptions) {
diff --git a/lib/contract.js b/lib/contract.js
index b10339003..f64363384 100644
--- a/lib/contract.js
+++ b/lib/contract.js
@@ -22,7 +22,7 @@
// TODO: is these line is supposed to be here?
if (process.env.NODE_ENV !== 'build') {
- var web3 = require('./web3'); // jshint ignore:line
+ var web3 = require('./web3');
}
var abi = require('./abi');
diff --git a/lib/main.js b/lib/web3.js
index b240bdae2..b240bdae2 100644
--- a/lib/main.js
+++ b/lib/web3.js