mirror of https://github.com/embarklabs/embark.git
reverse plugin.js changes
This commit is contained in:
parent
48bf7531bf
commit
c084803acb
|
@ -22,7 +22,6 @@ var Plugin = function(options) {
|
||||||
this.serviceChecks = [];
|
this.serviceChecks = [];
|
||||||
this.pluginTypes = [];
|
this.pluginTypes = [];
|
||||||
this.uploadCmds = [];
|
this.uploadCmds = [];
|
||||||
this.processLaunchCmds = [];
|
|
||||||
this.imports = [];
|
this.imports = [];
|
||||||
this.embarkjs_code = [];
|
this.embarkjs_code = [];
|
||||||
this.embarkjs_init_code = {};
|
this.embarkjs_init_code = {};
|
||||||
|
@ -190,11 +189,6 @@ Plugin.prototype.registerUploadCommand = function(cmd, cb) {
|
||||||
this.pluginTypes.push('uploadCmds');
|
this.pluginTypes.push('uploadCmds');
|
||||||
};
|
};
|
||||||
|
|
||||||
Plugin.prototype.registerProcessLaunchCommand = function(cmd, cb) {
|
|
||||||
this.processLaunchCmds.push({cmd: cmd, cb: cb});
|
|
||||||
this.pluginTypes.push('processLaunchCmds');
|
|
||||||
};
|
|
||||||
|
|
||||||
Plugin.prototype.addCodeToEmbarkJS = function(code) {
|
Plugin.prototype.addCodeToEmbarkJS = function(code) {
|
||||||
this.embarkjs_code.push(code);
|
this.embarkjs_code.push(code);
|
||||||
this.pluginTypes.push('embarkjsCode');
|
this.pluginTypes.push('embarkjsCode');
|
||||||
|
|
Loading…
Reference in New Issue