gnome-shell/js/misc
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
..
config.js.in fileUtils: Add helper for loading D-Bus XML from resource 2018-09-17 07:34:49 +00:00
extensionUtils.js style: Use space after catch 2019-07-01 23:44:11 +02:00
fileUtils.js style: Fix stray/missing semi-colons 2019-07-01 23:44:11 +02:00
gnomeSession.js cleanup: Clean up unused imports 2019-02-09 05:05:07 +01:00
history.js style: Fix stray/missing spaces 2019-07-01 23:44:11 +02:00
ibusManager.js style: Stop using braces for single-line arrow functions 2019-07-02 12:17:46 +00:00
inputMethod.js style: Fix stray/missing semi-colons 2019-07-01 23:44:11 +02:00
introspect.js style: Fix indentation errors 2019-07-02 12:17:46 +00:00
jsParse.js style: Fix indentation errors 2019-07-02 12:17:46 +00:00
keyboardManager.js style: Fix stray/missing spaces 2019-07-01 23:44:11 +02:00
loginManager.js style: Use space after catch 2019-07-01 23:44:11 +02:00
meson.build networkAgent: Pick up VPN service dir from pkg-config 2018-01-22 08:44:19 +01:00
modemManager.js style: Use camelCase for variable names 2019-07-01 23:44:11 +02:00
objectManager.js style: Fix indentation errors 2019-07-02 12:17:46 +00:00
params.js cleanup: Use method syntax 2018-02-21 13:54:58 +00:00
permissionStore.js style: Fix stray/missing semi-colons 2019-07-01 23:44:11 +02:00
smartcardManager.js style: Fix stray/missing spaces 2019-07-01 23:44:11 +02:00
systemActions.js style: Stop using braces for single-line arrow functions 2019-07-02 12:17:46 +00:00
util.js style: Stop using braces for single-line arrow functions 2019-07-02 12:17:46 +00:00
weather.js style: Stop using braces for single-line arrow functions 2019-07-02 12:17:46 +00:00