1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

Merge pull request #101 from hardillb/master

Fix typo in the delay node
This commit is contained in:
Nick O'Leary 2013-11-30 10:14:20 -08:00
commit 7eae669a34

View File

@ -41,7 +41,7 @@ function DelayNode(n) {
this.rateUnits = n.rateUnits; this.rateUnits = n.rateUnits;
if (n.timeoutUnits === "milliseconds") { if (n.timeoutUnits === "milliseconds") {
this.timeout = n.timout; this.timeout = n.timeout;
} else if (n.timeoutUnits === "seconds") { } else if (n.timeoutUnits === "seconds") {
this.timeout = n.timeout * 1000; this.timeout = n.timeout * 1000;
} else if (n.timeoutUnits === "minutes") { } else if (n.timeoutUnits === "minutes") {