Skip to content

Commit

Permalink
undefined checking
Browse files Browse the repository at this point in the history
  • Loading branch information
Ni55aN committed Sep 9, 2017
1 parent 4ed0a86 commit 43b1259
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/engine.js
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ export class Engine {
}

for (var i in this.data.nodes) // process nodes that have not been reached
if (this.data.nodes[i].outputData === undefined) {
if (typeof this.data.nodes[i].outputData === 'undefined') {
var node = this.data.nodes[i];

await this.processNode(node);
Expand Down

0 comments on commit 43b1259

Please sign in to comment.