popupMenu: Use consistent registerClass() style

We don't add a line break between parameters and class elsewhere,
so be consistent with that.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/606
This commit is contained in:
Florian Müllner 2019-06-29 15:04:13 +02:00 committed by Georges Basile Stavracas Neto
parent 5f3bad9c94
commit 3c382c4bbe

View File

@ -315,8 +315,7 @@ class Switch extends St.Bin {
var PopupSwitchMenuItem = GObject.registerClass({ var PopupSwitchMenuItem = GObject.registerClass({
Signals: { 'toggled': { param_types: [GObject.TYPE_BOOLEAN] }, }, Signals: { 'toggled': { param_types: [GObject.TYPE_BOOLEAN] }, },
}, }, class PopupSwitchMenuItem extends PopupBaseMenuItem {
class PopupSwitchMenuItem extends PopupBaseMenuItem {
_init(text, active, params) { _init(text, active, params) {
super._init(params); super._init(params);