mirror of https://github.com/embarklabs/embark.git
Removed the contract compile event
(really did it this time)
This commit is contained in:
parent
6f8f9a14d9
commit
23a1cf57c2
|
@ -15,12 +15,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',
|
||||
|
|
Loading…
Reference in New Issue