chore(@embark/code-generator): remove unused code

This commit is contained in:
Pascal Precht 2018-11-30 12:26:24 +01:00 committed by Pascal Precht
parent de58cab475
commit 639b8d8ebd
1 changed files with 0 additions and 25 deletions

View File

@ -47,15 +47,6 @@ class CodeGenerator {
cb(providerCode);
});
// new events
this.events.setCommandHandler('code-vanila', function(cb) {
self.events.request("contracts:list", (_err, contractsList) => {
let vanillaABI = self.generateABI(contractsList, {useEmbarkJS: false});
let contractsJSON = self.generateContractsJSON(contractsList);
cb(vanillaABI, contractsJSON);
});
});
this.events.setCommandHandler('code', function(cb) {
self.events.request("contracts:list", (_err, contractsList) => {
let embarkJSABI = self.generateABI(contractsList, {useEmbarkJS: true});
@ -64,22 +55,6 @@ class CodeGenerator {
});
});
this.events.setCommandHandler('code-contracts-vanila', function(cb) {
self.events.request("contracts:list", (_err, contractsList) => {
let vanillaContractsABI = self.generateContracts(contractsList, false, true, false);
let contractsJSON = self.generateContractsJSON(contractsList);
cb(vanillaContractsABI, contractsJSON);
});
});
this.events.setCommandHandler('code-vanila-deployment', function(cb) {
self.events.request("contracts:list", (_err, contractsList) => {
let vanillaABI = self.generateABI(contractsList, {useEmbarkJS: false, deployment: true});
let contractsJSON = self.generateContractsJSON(contractsList);
cb(vanillaABI, contractsJSON);
});
});
this.events.setCommandHandler('code-generator:web3js', function(cb) {
self.buildWeb3JS(cb);
});