style: Fix stray/missing spaces

Spotted by eslint.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/607
This commit is contained in:
Florian Müllner
2019-01-29 02:27:05 +01:00
parent 29b04fcbf2
commit 7ac35c644e
55 changed files with 211 additions and 211 deletions

View File

@ -19,7 +19,7 @@ var METRICS = {
units: "frames / s" },
overviewLatencySubsequent:
{ description: "Time to first frame after triggering overview, second time",
units: "us"},
units: "us" },
overviewFpsSubsequent:
{ description: "Frames rate when going to the overview, second time",
units: "frames / s" },
@ -52,7 +52,7 @@ var METRICS = {
units: "us" },
applicationsShowTimeSubsequent:
{ description: "Time to switch to applications view, second time",
units: "us"}
units: "us" }
};
let WINDOW_CONFIGS = [

View File

@ -157,7 +157,7 @@ function *run() {
Main.overview.hide();
yield Scripting.createTestWindow({ maximized: true,
redraws: true});
redraws: true });
yield Scripting.waitTestWindows();
yield Scripting.sleep(1000);
@ -269,7 +269,7 @@ function script_collectTimings(time) {
if (len == 0)
median = -1;
else if (len % 2 == 1)
median = times[(len - 1)/ 2];
median = times[(len - 1) / 2];
else
median = Math.round((times[len / 2 - 1] + times[len / 2]) / 2);