aboutsummaryrefslogtreecommitdiffstats
path: root/lib/contract.js
diff options
context:
space:
mode:
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;
};