mirror of https://github.com/embarklabs/embark.git
fix errors in code_generator
This commit is contained in:
parent
8ebba404e2
commit
f6beeff9c7
|
@ -53,8 +53,6 @@ class CodeGenerator {
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
this.events.setCommandHandler('code-generator:web3js', this.buildWeb3JS.bind(this));
|
|
||||||
|
|
||||||
this.events.setCommandHandler('code-generator:contract', (contractName, cb) => {
|
this.events.setCommandHandler('code-generator:contract', (contractName, cb) => {
|
||||||
this.events.request('contracts:contract', contractName, (contract) => {
|
this.events.request('contracts:contract', contractName, (contract) => {
|
||||||
this.buildContractJS(contractName, this.generateContractJSON(contract, contract), cb);
|
this.buildContractJS(contractName, this.generateContractJSON(contract, contract), cb);
|
||||||
|
|
Loading…
Reference in New Issue