cleanup: Remove spaces in object literals
We only adopted this style relatively recently, so there's a bit more to adjust. Still, it's manageable and another step towards getting rid of the legacy style. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2866>
This commit is contained in:

committed by
Marge Bot

parent
6a22af83dc
commit
071f92cfb6
@ -25,7 +25,7 @@ const DialogResponse = {
|
||||
const AccessDialog = GObject.registerClass(
|
||||
class AccessDialog extends ModalDialog.ModalDialog {
|
||||
_init(invocation, handle, title, description, body, options) {
|
||||
super._init({ styleClass: 'access-dialog' });
|
||||
super._init({styleClass: 'access-dialog'});
|
||||
|
||||
this._invocation = invocation;
|
||||
this._handle = handle;
|
||||
@ -46,7 +46,7 @@ class AccessDialog extends ModalDialog.ModalDialog {
|
||||
let grantLabel = options['grant_label'] || _('Allow');
|
||||
let choices = options['choices'] || [];
|
||||
|
||||
let content = new Dialog.MessageDialogContent({ title, description });
|
||||
let content = new Dialog.MessageDialogContent({title, description});
|
||||
this.contentLayout.add_actor(content);
|
||||
|
||||
this._choices = new Map();
|
||||
|
Reference in New Issue
Block a user