mirror of
https://github.com/node-red/node-red.git
synced 2025-03-01 10:36:34 +00: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;
|
nodeTabMap[z][node.id] = node;
|
||||||
var nl = nodeLinks[node.id];
|
var nl = nodeLinks[node.id];
|
||||||
if (nl) {
|
if (nl) {
|
||||||
nl.in.forEach((l) => {
|
nl.in.forEach(function(l) {
|
||||||
var idx = linkTabMap[node.z].indexOf(l);
|
var idx = linkTabMap[node.z].indexOf(l);
|
||||||
if (idx != -1) {
|
if (idx != -1) {
|
||||||
linkTabMap[node.z].splice(idx, 1);
|
linkTabMap[node.z].splice(idx, 1);
|
||||||
@ -424,7 +424,7 @@ RED.nodes = (function() {
|
|||||||
linkTabMap[z].push(l);
|
linkTabMap[z].push(l);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
nl.out.forEach((l) => {
|
nl.out.forEach(function(l) {
|
||||||
var idx = linkTabMap[node.z].indexOf(l);
|
var idx = linkTabMap[node.z].indexOf(l);
|
||||||
if (idx != -1) {
|
if (idx != -1) {
|
||||||
linkTabMap[node.z].splice(idx, 1);
|
linkTabMap[node.z].splice(idx, 1);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user