[gnome-shell-extensions/wip/fmuellner/cleanups: 8/8] style: Use consistent style for object literal parameters



commit 4afbdf5d5a46224b8b16d9d2bb11c73be76c9013
Author: Florian Müllner <fmuellner gnome org>
Date:   Mon Jan 28 02:44:38 2019 +0100

    style: Use consistent style for object literal parameters
    
    Spotted by eslint.
    
    https://gitlab.gnome.org/GNOME/gnome-shell-extensions/merge_requests/49

 extensions/auto-move-windows/prefs.js   | 3 +--
 extensions/workspace-indicator/prefs.js | 3 +--
 2 files changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/extensions/auto-move-windows/prefs.js b/extensions/auto-move-windows/prefs.js
index 893cc6d..d995ed7 100644
--- a/extensions/auto-move-windows/prefs.js
+++ b/extensions/auto-move-windows/prefs.js
@@ -118,8 +118,7 @@ const Widget = GObject.registerClass({
                                     halign: Gtk.Align.END }), 0, 1, 1, 1);
         let adjustment = new Gtk.Adjustment({ lower: 1,
                                               upper: WORKSPACE_MAX,
-                                              step_increment: 1
-                                            });
+                                              step_increment: 1 });
         dialog._spin = new Gtk.SpinButton({ adjustment: adjustment,
                                             snap_to_ticks: true });
         dialog._spin.set_value(1);
diff --git a/extensions/workspace-indicator/prefs.js b/extensions/workspace-indicator/prefs.js
index 3a70eaa..6665ce8 100644
--- a/extensions/workspace-indicator/prefs.js
+++ b/extensions/workspace-indicator/prefs.js
@@ -143,8 +143,7 @@ class WorkspaceSettingsWidget extends Gtk.Grid {
                                             headers_visible: false,
                                             reorderable: true,
                                             hexpand: true,
-                                            vexpand: true
-                                          });
+                                            vexpand: true });
 
         let column = new Gtk.TreeViewColumn({ title: _("Name") });
         let renderer = new Gtk.CellRendererText({ editable: true });


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]