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

add variable declaration to prohibit jshint error

This commit is contained in:
Hiroyasu Nishiyama 2020-05-20 13:47:56 +09:00
parent 15cc88de6c
commit 2343fbd86a

View File

@ -1423,7 +1423,7 @@ RED.nodes = (function() {
}
// Now the nodes have been fully updated, add them.
for (i=0;i<new_nodes.length;i++) {
node = new_nodes[i];
var node = new_nodes[i];
addNode(node);
RED.editor.validateNode(node);
}