mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
tiny bit of ; lint in switch node
#ocd
This commit is contained in:
parent
52c0d360b2
commit
8939a9c786
@ -98,7 +98,7 @@
|
|||||||
if (rule) {
|
if (rule) {
|
||||||
for (var i=0;i<operators.length;i++) {
|
for (var i=0;i<operators.length;i++) {
|
||||||
if (operators[i].v === rule.t) {
|
if (operators[i].v === rule.t) {
|
||||||
label = /^switch/.test(operators[i].t)?this._(operators[i].t):operators[i].t
|
label = /^switch/.test(operators[i].t)?this._(operators[i].t):operators[i].t;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -162,7 +162,7 @@
|
|||||||
rule.t = 'eq';
|
rule.t = 'eq';
|
||||||
}
|
}
|
||||||
if (!opt.hasOwnProperty('i')) {
|
if (!opt.hasOwnProperty('i')) {
|
||||||
opt._i = Math.floor((0x99999-0x10000)*Math.random()).toString(16)
|
opt._i = Math.floor((0x99999-0x10000)*Math.random()).toString(16);
|
||||||
}
|
}
|
||||||
var row = $('<div/>').appendTo(container);
|
var row = $('<div/>').appendTo(container);
|
||||||
var row2 = $('<div/>',{style:"padding-top: 5px; padding-left: 175px;"}).appendTo(container);
|
var row2 = $('<div/>',{style:"padding-top: 5px; padding-left: 175px;"}).appendTo(container);
|
||||||
|
Loading…
Reference in New Issue
Block a user