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

Merge pull request #2574 from node-red-hitachi/fix-grunt-error

add variable declaration to prohibit jshint error
This commit is contained in:
Nick O'Leary 2020-05-20 11:38:56 +01:00 committed by GitHub
commit 0832be5970
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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