mirror of
https://github.com/embarklabs/embark.git
synced 2025-01-11 14:24:24 +00:00
remove old methods
This commit is contained in:
parent
16653d491b
commit
71cd523f30
@ -206,16 +206,6 @@ Plugin.prototype.registerImportFile = function(importName, importLocation) {
|
||||
this.pluginTypes.push('imports');
|
||||
};
|
||||
|
||||
Plugin.prototype.registerAfterAllContractsDeploy = function(cb) {
|
||||
this.afterContractsDeployActions.push(cb);
|
||||
this.pluginTypes.push('afterContractsDeployActions');
|
||||
};
|
||||
|
||||
Plugin.prototype.registerOnDeployContracts = function(cb) {
|
||||
this.onDeployActions.push(cb);
|
||||
this.pluginTypes.push('onDeployActions');
|
||||
};
|
||||
|
||||
Plugin.prototype.registerActionForEvent = function(eventName, cb) {
|
||||
if (!this.eventActions[eventName]) {
|
||||
this.eventActions[eventName] = [];
|
||||
|
@ -48,7 +48,6 @@ class SpecialConfigs {
|
||||
registerAfterDeployAction() {
|
||||
const self = this;
|
||||
|
||||
//this.embark.registerAfterAllContractsDeploy((cb) => {
|
||||
this.embark.registerActionForEvent("contracts:deploy:afterAll", (cb) => {
|
||||
let afterDeployCmds = self.contractsConfig.afterDeploy || [];
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user