[gnome-shell] util: Separate statements with linebreak
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] util: Separate statements with linebreak
- Date: Wed, 11 Sep 2019 21:13:56 +0000 (UTC)
commit 743ce23fbcec9153deb6ca1c16858a9a62554676
Author: Florian Müllner <fmuellner gnome org>
Date: Mon Aug 19 21:13:52 2019 +0200
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
js/misc/util.js | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/js/misc/util.js b/js/misc/util.js
index d8ee946ee2..87a6c12252 100644
--- a/js/misc/util.js
+++ b/js/misc/util.js
@@ -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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]