diff options
author | Gav Wood <i@gavwood.com> | 2014-12-22 08:13:49 +0800 |
---|---|---|
committer | Gav Wood <i@gavwood.com> | 2014-12-22 08:13:49 +0800 |
commit | 123098ce79562be0d4ce87e15bcebe6a970f1ff6 (patch) | |
tree | fba808e0bf433cc209c7554f5aed744813a71574 /lib/contract.js | |
parent | e9db2d1b1877bdf49cb76de46849a1426ded288c (diff) | |
download | go-tangerine-123098ce79562be0d4ce87e15bcebe6a970f1ff6.tar go-tangerine-123098ce79562be0d4ce87e15bcebe6a970f1ff6.tar.gz go-tangerine-123098ce79562be0d4ce87e15bcebe6a970f1ff6.tar.bz2 go-tangerine-123098ce79562be0d4ce87e15bcebe6a970f1ff6.tar.lz go-tangerine-123098ce79562be0d4ce87e15bcebe6a970f1ff6.tar.xz go-tangerine-123098ce79562be0d4ce87e15bcebe6a970f1ff6.tar.zst go-tangerine-123098ce79562be0d4ce87e15bcebe6a970f1ff6.zip |
Lots of fixes.
Diffstat (limited to 'lib/contract.js')
-rw-r--r-- | lib/contract.js | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/lib/contract.js b/lib/contract.js index 10ceaf869..17b077484 100644 --- a/lib/contract.js +++ b/lib/contract.js @@ -20,9 +20,11 @@ * @date 2014 */ -if (process.env.NODE_ENV !== 'build') { +// TODO: work out which of the following two lines it is supposed to be... +//if (process.env.NODE_ENV !== 'build') { +if ("build" !== 'build') {/* var web3 = require('./web3'); // jshint ignore:line -} +*/} var abi = require('./abi'); var contract = function (address, desc) { @@ -56,7 +58,7 @@ var contract = function (address, desc) { }; }; }); - + return contract; }; |