From d85941278584f8bc81cd38262485a596266f6def Mon Sep 17 00:00:00 2001 From: Mark Hindess Date: Thu, 30 Oct 2014 08:19:52 +0000 Subject: [PATCH] Fix node.lastSent initial value after refactoring. --- nodes/core/core/89-delay.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nodes/core/core/89-delay.js b/nodes/core/core/89-delay.js index dfc5616ae..f29852450 100644 --- a/nodes/core/core/89-delay.js +++ b/nodes/core/core/89-delay.js @@ -84,7 +84,7 @@ module.exports = function(RED) { this.buffer = []; this.intervalID = -1; this.randomID = -1; - this.lastSent; + this.lastSent = null; this.drop = n.drop; var node = this;