remove preceding newline in web3 deploy code

pull/1/head
d11e9 9 years ago
parent 61987b6e51
commit 9162a4afa9
  1. 2
      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) {

Loading…
Cancel
Save