mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-17 23:24:51 +00:00
util: Separate statements with linebreak
Our eslint rules will soon forbid more than one statement per line. We already follow that rule except for one lone offender; fix that. https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/710
This commit is contained in:
parent
a3267be192
commit
743ce23fbc
1 changed files with 2 additions and 1 deletions
|
|
@ -313,7 +313,8 @@ function lowerBound(array, val, cmp) {
|
|||
if (array.length == 0)
|
||||
return 0;
|
||||
|
||||
min = 0; max = array.length;
|
||||
min = 0;
|
||||
max = array.length;
|
||||
while (min < (max - 1)) {
|
||||
mid = Math.floor((min + max) / 2);
|
||||
v = cmp(array[mid], val);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue