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) {
|
||||
for (var i=0;i<operators.length;i++) {
|
||||
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;
|
||||
}
|
||||
}
|
||||
@ -162,7 +162,7 @@
|
||||
rule.t = 'eq';
|
||||
}
|
||||
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 row2 = $('<div/>',{style:"padding-top: 5px; padding-left: 175px;"}).appendTo(container);
|
||||
@ -196,7 +196,7 @@
|
||||
if (type === "regex") {
|
||||
row2.show();
|
||||
row3.hide();
|
||||
} else if (type === "btwn"){
|
||||
} else if (type === "btwn") {
|
||||
row2.hide();
|
||||
row3.show();
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user