Skip to content

Commit

Permalink
small test
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolasferry committed Mar 29, 2018
1 parent 999a70d commit 45a868b
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions red/runtime/nodes/flows/Flow.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,15 +102,15 @@ function Flow(global, flow) {
}
} else {
if (modules[j].id.indexOf(node.type) >= 0) { //if the type of the node being loaded is equal to the plugin name then use the plugin
newNode = createNode(node.type, node);
console.log("id : "+id);
console.log("Type : "+node.type);
console.log("node : "+JSON.stringify(node));
console.log("node : "+JSON.stringify(newNode));
if (newNode) {
activeNodes[id] = newNode;
}
modules[j].module.deploy(node, function (node, id) {
newNode = createNode(node.type, node);
console.log("id : "+id);
console.log("Type : "+node.type);
console.log("node : "+JSON.stringify(node));
console.log("node : "+JSON.stringify(newNode));
if (newNode) {
activeNodes[id] = newNode;
}
console.log("length: "+JSON.stringify(activeNodes[id]));
}, id);
break;
Expand Down

0 comments on commit 45a868b

Please sign in to comment.