forked from sheetjs/sheetjs
whitespace and semicolons to satiate jshint
This commit is contained in:
parent
af23ae85b4
commit
95b338304b
6
ssf.js
6
ssf.js
@ -455,12 +455,10 @@ function choose_fmt(fmt, v, o) {
|
||||
case "<=": if(v <= thresh) found = true; break;
|
||||
}
|
||||
return found ? out : null;
|
||||
}
|
||||
};
|
||||
var m1 = fmt[0].match(/\[([=<>]*)([-]?\d+)\]/);
|
||||
var m2 = fmt[1].match(/\[([=<>]*)([-]?\d+)\]/);
|
||||
return chk(v, m1, [l, fmt[0]])
|
||||
|| chk(v, m2, [l, fmt[1]])
|
||||
|| [l, fmt[m1&&m2?2:1]];
|
||||
return chk(v, m1, [l, fmt[0]]) || chk(v, m2, [l, fmt[1]]) || [l, fmt[m1&&m2?2:1]];
|
||||
}
|
||||
return [l, ff];
|
||||
}
|
||||
|
6
ssf.md
6
ssf.md
@ -937,12 +937,10 @@ Here we have to scan for conditions:
|
||||
case "<=": if(v <= thresh) found = true; break;
|
||||
}
|
||||
return found ? out : null;
|
||||
}
|
||||
};
|
||||
var m1 = fmt[0].match(/\[([=<>]*)([-]?\d+)\]/);
|
||||
var m2 = fmt[1].match(/\[([=<>]*)([-]?\d+)\]/);
|
||||
return chk(v, m1, [l, fmt[0]])
|
||||
|| chk(v, m2, [l, fmt[1]])
|
||||
|| [l, fmt[m1&&m2?2:1]];
|
||||
return chk(v, m1, [l, fmt[0]]) || chk(v, m2, [l, fmt[1]]) || [l, fmt[m1&&m2?2:1]];
|
||||
}
|
||||
return [l, ff];
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user