comply with eslint

This commit is contained in:
Iuri Matias 2017-12-15 17:30:29 -05:00
parent 1666be1158
commit d42a34b342
2 changed files with 4 additions and 4 deletions

View File

@ -17,7 +17,7 @@
], ],
"array-callback-return": "off", "array-callback-return": "off",
"array-element-newline": "off", "array-element-newline": "off",
"arrow-body-style": "error", "arrow-body-style": "off",
"arrow-parens": "off", "arrow-parens": "off",
"arrow-spacing": [ "arrow-spacing": [
"error", "error",

View File

@ -81,10 +81,10 @@ class Deploy {
let code = codeGenerator.generateContracts(false, true, true); let code = codeGenerator.generateContracts(false, true, true);
let cmds = contract.onDeploy.join(';\n'); let cmds = contract.onDeploy.join(';\n');
let _cmds = "" let _cmds = "";
_cmds += "__mainContext.__loadManagerInstance.execWhenReady(function() {" _cmds += "__mainContext.__loadManagerInstance.execWhenReady(function() {";
_cmds += cmds; _cmds += cmds;
_cmds += "});" _cmds += "});";
RunCode.doEval(context + "\n" + code + "\n" + _cmds, self.web3); RunCode.doEval(context + "\n" + code + "\n" + _cmds, self.web3);
} }