mirror of https://github.com/embarklabs/embark.git
remove no longer used plugin cmd api
This commit is contained in:
parent
44f5186af1
commit
31025fbd9b
|
@ -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