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:
parent
40ea759e2c
commit
3b84f27f36
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user