gnome-shell/js/gdm
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
..
authPrompt.js style: Stop using braces for single-line arrow functions 2019-07-02 12:17:46 +00:00
batch.js style: Fix indentation errors 2019-07-02 12:17:46 +00:00
fingerprint.js style: Use space after catch 2019-07-01 23:44:11 +02:00
loginDialog.js style: Stop using braces for single-line arrow functions 2019-07-02 12:17:46 +00:00
oVirt.js cleanup: Port non-GObject classes to JS6 classes 2019-01-25 14:02:44 +00:00
realmd.js style: Stop using braces for single-line arrow functions 2019-07-02 12:17:46 +00:00
util.js style: Fix indentation errors 2019-07-02 12:17:46 +00:00