remove no longer used plugin cmd api
This commit is contained in:
parent
14710e06d8
commit
9b1e6a36a6
|
@ -22,7 +22,6 @@ var Plugin = function(options) {
|
||||||
this.compilers = [];
|
this.compilers = [];
|
||||||
this.serviceChecks = [];
|
this.serviceChecks = [];
|
||||||
this.pluginTypes = [];
|
this.pluginTypes = [];
|
||||||
this.uploadCmds = [];
|
|
||||||
this.imports = [];
|
this.imports = [];
|
||||||
this.embarkjs_code = [];
|
this.embarkjs_code = [];
|
||||||
this.embarkjs_init_code = {};
|
this.embarkjs_init_code = {};
|
||||||
|
@ -174,11 +173,6 @@ Plugin.prototype.registerCompiler = function(extension, cb) {
|
||||||
this.addPluginType('compilers');
|
this.addPluginType('compilers');
|
||||||
};
|
};
|
||||||
|
|
||||||
Plugin.prototype.registerUploadCommand = function(cmd, cb) {
|
|
||||||
this.uploadCmds.push({cmd: cmd, cb: cb});
|
|
||||||
this.addPluginType('uploadCmds');
|
|
||||||
};
|
|
||||||
|
|
||||||
Plugin.prototype.addCodeToEmbarkJS = function(code) {
|
Plugin.prototype.addCodeToEmbarkJS = function(code) {
|
||||||
this.embarkjs_code.push(code);
|
this.embarkjs_code.push(code);
|
||||||
this.addPluginType('embarkjsCode');
|
this.addPluginType('embarkjsCode');
|
||||||
|
|
Loading…
Reference in New Issue