mirror of
https://github.com/status-im/embark-area-51.git
synced 2025-02-08 21:34:55 +00:00
Removed the contract compile event
(really did it this time)
This commit is contained in:
parent
a24ad6e57f
commit
3107d9ab5f
@ -14,12 +14,6 @@ class Solidity {
|
|||||||
|
|
||||||
embark.registerCompiler(".sol", this.compile_solidity.bind(this));
|
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(
|
embark.registerAPICall(
|
||||||
'post',
|
'post',
|
||||||
'/embark-api/contract/compile',
|
'/embark-api/contract/compile',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user