gnome-shell/js
Florian Müllner d008c6c5c5 cleanup: Avoid variable declarations in case clauses
While allowed by the syntax, they are problematic because the
variable is in the scope of the switch() statement, but only
valid if a particular case clause is reached.

Add braces to limit the variables' scope to the corresponding
case clause to avoid that problem.

Spotted by eslint.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/607
2019-07-01 23:44:11 +02:00
..
extensionPrefs cleanup: Use rest parameters instead of arguments 2019-07-01 23:44:10 +02:00
gdm cleanup: Remove unused variables 2019-07-01 23:44:10 +02:00
misc cleanup: Remove unused variables 2019-07-01 23:44:10 +02:00
perf cleanup: Remove unused variables 2019-07-01 23:44:10 +02:00
portalHelper cleanup: Remove unused variables 2019-07-01 23:44:10 +02:00
ui cleanup: Avoid variable declarations in case clauses 2019-07-01 23:44:11 +02:00
js-resources.gresource.xml accessibility: Add pointer accessibility support 2019-06-06 09:13:29 +02:00
meson.build build: Use dedicated resources for helper programs 2018-08-14 17:28:04 +00:00
portal-resources.gresource.xml build: Include params.js in portal-helper gresources 2018-10-23 15:38:31 +00:00
prefs-resources.gresource.xml build: Use dedicated resources for helper programs 2018-08-14 17:28:04 +00:00