Removed the contract compile event

(really did it this time)
This commit is contained in:
emizzle 2018-08-13 21:49:51 +10:00
parent a24ad6e57f
commit 3107d9ab5f

View File

@ -14,12 +14,6 @@ class Solidity {
embark.registerCompiler(".sol", this.compile_solidity.bind(this));
this.events.setCommandHandler("contract:compile", (contractCode, cb) => {
const input = {'fiddler': {content: contractCode.replace(/\r\n/g, '\n')}};
this.compile_solidity_code(input, {}, true, cb);
});
embark.registerAPICall(
'post',
'/embark-api/contract/compile',