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

Remove arrow-funcs from editor code

This commit is contained in:
Nick O'Leary 2021-03-10 21:31:05 +00:00
parent 40ea759e2c
commit 3b84f27f36
No known key found for this signature in database
GPG Key ID: 4F2157149161A6C9

View File

@ -415,7 +415,7 @@ RED.nodes = (function() {
nodeTabMap[z][node.id] = node;
var nl = nodeLinks[node.id];
if (nl) {
nl.in.forEach((l) => {
nl.in.forEach(function(l) {
var idx = linkTabMap[node.z].indexOf(l);
if (idx != -1) {
linkTabMap[node.z].splice(idx, 1);
@ -424,7 +424,7 @@ RED.nodes = (function() {
linkTabMap[z].push(l);
}
});
nl.out.forEach((l) => {
nl.out.forEach(function(l) {
var idx = linkTabMap[node.z].indexOf(l);
if (idx != -1) {
linkTabMap[node.z].splice(idx, 1);