gnome-shell/js/ui/components
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
..
__init__.js cleanup: Use Array.includes() to check for element existence 2019-07-01 21:28:52 +00:00
automountManager.js shellMountOperation: Support TCRYPT 2019-05-20 19:59:04 +02:00
autorunManager.js cleanup: Use Array.includes() to check for element existence 2019-07-01 21:28:52 +00:00
keyring.js modalDialog: Inherit from St.Widget 2019-05-24 16:27:25 -05:00
networkAgent.js cleanup: Avoid variable declarations in case clauses 2019-07-01 23:44:11 +02:00
polkitAgent.js cleanup: Clean up unused imports 2019-07-01 23:44:10 +02:00
telepathyClient.js cleanup: Use rest operator to handle overly long argument lists 2019-07-01 23:44:10 +02:00