gnome-shell/js/ui/status
Florian Müllner 14d7897a93 style: Stop using braces for single-line arrow functions
Braces are optional for single-line arrow functions, but there's a
subtle difference:
Without braces, the expression is implicitly used as return value; with
braces, the function returns nothing unless there's an explicit return.

We currently reflect that in our style by only omitting braces when the
function is expected to have a return value, but that's not very obvious,
not an important differentiation to make, and not easy to express in an
automatic rule.

So just omit braces consistently as mandated by gjs' coding style.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/608
2019-07-02 12:17:46 +00:00
..
accessibility.js style: Fix indentation errors 2019-07-02 12:17:46 +00:00
bluetooth.js style: Fix stray/missing spaces 2019-07-01 23:44:11 +02:00
brightness.js js/status: Use menu items as actors 2019-05-15 17:27:07 +00:00
dwellClick.js dwellClick: Reindent modes map 2019-07-02 12:17:46 +00:00
keyboard.js style: Stop using braces for single-line arrow functions 2019-07-02 12:17:46 +00:00
location.js style: Fix indentation errors 2019-07-02 12:17:46 +00:00
network.js style: Stop using braces for single-line arrow functions 2019-07-02 12:17:46 +00:00
nightLight.js js/status: Use menu items as actors 2019-05-15 17:27:07 +00:00
power.js style: Fix indentation errors 2019-07-02 12:17:46 +00:00
remoteAccess.js style: Fix indentation errors 2019-07-02 12:17:46 +00:00
rfkill.js js/status: Use menu items as actors 2019-05-15 17:27:07 +00:00
screencast.js cleanup: Port non-GObject classes to JS6 classes 2019-01-25 14:02:44 +00:00
system.js style: Stop using braces for single-line arrow functions 2019-07-02 12:17:46 +00:00
thunderbolt.js style: Stop using braces for single-line arrow functions 2019-07-02 12:17:46 +00:00
volume.js cleanup: Remove unused variables 2019-07-01 23:44:10 +02:00