aboutsummaryrefslogtreecommitdiffstats
path: root/lib/contract.js
diff options
context:
space:
mode:
authorGav Wood <i@gavwood.com>2014-12-22 08:13:49 +0800
committerGav Wood <i@gavwood.com>2014-12-22 08:13:49 +0800
commit123098ce79562be0d4ce87e15bcebe6a970f1ff6 (patch)
treefba808e0bf433cc209c7554f5aed744813a71574 /lib/contract.js
parente9db2d1b1877bdf49cb76de46849a1426ded288c (diff)
downloadgo-tangerine-123098ce79562be0d4ce87e15bcebe6a970f1ff6.tar.gz
go-tangerine-123098ce79562be0d4ce87e15bcebe6a970f1ff6.tar.zst
go-tangerine-123098ce79562be0d4ce87e15bcebe6a970f1ff6.zip
Lots of fixes.
Diffstat (limited to 'lib/contract.js')
-rw-r--r--lib/contract.js8
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;
};