Commit 4e81ef0e by Chavee Issariyapat

refactor

parent 6e79212a
...@@ -59,8 +59,10 @@ FlowAgent.prototype.emit = function(eventname, data1, data2, data3) { ...@@ -59,8 +59,10 @@ FlowAgent.prototype.emit = function(eventname, data1, data2, data3) {
FlowAgent.prototype.start = function() { FlowAgent.prototype.start = function() {
if (!this.started) { if (!this.started) {
this.started = this.coordinator.start(); this.started = this.coordinator.start();
console.log('Staring FlowAgent...') //console.log('Staring FlowAgent...')
return true;
} }
else return false;
} }
FlowAgent.prototype.getInfo = function() { FlowAgent.prototype.getInfo = function() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment