From af9242f4cc382a61bea9142ddbd0cec2e1edf08a Mon Sep 17 00:00:00 2001 From: Marek Kotewicz Date: Tue, 6 Jan 2015 13:26:51 +0100 Subject: fixed gulp build --- lib/contract.js | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'lib/contract.js') diff --git a/lib/contract.js b/lib/contract.js index 17b077484..7db2ac40e 100644 --- a/lib/contract.js +++ b/lib/contract.js @@ -20,11 +20,10 @@ * @date 2014 */ -// TODO: work out which of the following two lines it is supposed to be... -//if (process.env.NODE_ENV !== 'build') { -if ("build" !== 'build') {/* +if (process.env.NODE_ENV !== 'build') { var web3 = require('./web3'); // jshint ignore:line -*/} +} + var abi = require('./abi'); var contract = function (address, desc) { -- cgit v1.2.3 From a2a77172a688b00e08191fe715c62335120b28ac Mon Sep 17 00:00:00 2001 From: Marek Kotewicz Date: Tue, 6 Jan 2015 13:32:04 +0100 Subject: bring back todos --- lib/contract.js | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/contract.js') diff --git a/lib/contract.js b/lib/contract.js index 7db2ac40e..b10339003 100644 --- a/lib/contract.js +++ b/lib/contract.js @@ -20,6 +20,7 @@ * @date 2014 */ +// TODO: is these line is supposed to be here? if (process.env.NODE_ENV !== 'build') { var web3 = require('./web3'); // jshint ignore:line } -- cgit v1.2.3