aboutsummaryrefslogtreecommitdiffstats
path: root/lib/abi.js
diff options
context:
space:
mode:
authorMarek Kotewicz <marek.kotewicz@gmail.com>2015-01-16 22:49:36 +0800
committerMarek Kotewicz <marek.kotewicz@gmail.com>2015-01-16 22:49:36 +0800
commit0172939490f47f869b39b00d3f5f228b226ab170 (patch)
tree6f1f9d64248291d3e22feb309265fa826ccce485 /lib/abi.js
parent2c36d5ff457952c557b467e580514b08126d7dd7 (diff)
downloadgo-tangerine-0172939490f47f869b39b00d3f5f228b226ab170.tar
go-tangerine-0172939490f47f869b39b00d3f5f228b226ab170.tar.gz
go-tangerine-0172939490f47f869b39b00d3f5f228b226ab170.tar.bz2
go-tangerine-0172939490f47f869b39b00d3f5f228b226ab170.tar.lz
go-tangerine-0172939490f47f869b39b00d3f5f228b226ab170.tar.xz
go-tangerine-0172939490f47f869b39b00d3f5f228b226ab170.tar.zst
go-tangerine-0172939490f47f869b39b00d3f5f228b226ab170.zip
fixed #28 and other small node.js issues
Diffstat (limited to 'lib/abi.js')
-rw-r--r--lib/abi.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/abi.js b/lib/abi.js
index 8af10c382..fbd6effb6 100644
--- a/lib/abi.js
+++ b/lib/abi.js
@@ -23,10 +23,10 @@
// TODO: is these line is supposed to be here?
if (process.env.NODE_ENV !== 'build') {
- var web3 = require('./web3'); // jshint ignore:line
+ var BigNumber = require('bignumber.js'); // jshint ignore:line
}
-var BigNumber = require('bignumber.js');
+var web3 = require('./web3'); // jshint ignore:line
// TODO: make these be actually accurate instead of falling back onto JS's doubles.
var hexToDec = function (hex) {