From 9162a4afa9e60f0c992c2decc83d0ae45e7abb25 Mon Sep 17 00:00:00 2001 From: d11e9 Date: Wed, 7 Oct 2015 18:04:06 +0100 Subject: [PATCH] remove preceding newline in web3 deploy code --- index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.html b/index.html index f09c48c031..1c0833d26b 100644 --- a/index.html +++ b/index.html @@ -470,7 +470,7 @@ THE SOFTWARE. code += "var " + inp.name + " = /* var of type " + inp.type + " here */ ;\n"; }); - code += "\nvar " + contractName + "Contract = web3.eth.contract(" + interface.replace("\n","") + ");" + code += "var " + contractName + "Contract = web3.eth.contract(" + interface.replace("\n","") + ");" +"\nvar " + contractName + " = " + contractName + "Contract.new("; $.each(funABI.inputs, function(i, inp) {