[gnome-shell-extensions] cleanup: Remove empty leading/trailing lines in blocks



commit ba7e3fc0b50e26425c3b7dceb538855c8b17afa2
Author: Florian Müllner <fmuellner gnome org>
Date:   Sat Nov 14 00:43:48 2020 +0100

    cleanup: Remove empty leading/trailing lines in blocks
    
    gjs added a new rule to its eslint ruleset that forbids "block padding",
    so make sure we conform to that rule before syncing up the configuration.
    
    https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/137

 extensions/native-window-placement/extension.js | 1 -
 extensions/places-menu/placeDisplay.js          | 1 -
 extensions/window-list/extension.js             | 1 -
 3 files changed, 3 deletions(-)
---
diff --git a/extensions/native-window-placement/extension.js b/extensions/native-window-placement/extension.js
index de8dec0..3167df3 100644
--- a/extensions/native-window-placement/extension.js
+++ b/extensions/native-window-placement/extension.js
@@ -103,7 +103,6 @@ class NaturalLayoutStrategy extends Workspace.LayoutStrategy {
             direction++;
             if (direction === 4)
                 direction = 0;
-
         }
 
         let loopCounter = 0;
diff --git a/extensions/places-menu/placeDisplay.js b/extensions/places-menu/placeDisplay.js
index 3d3b516..ae9ee9f 100644
--- a/extensions/places-menu/placeDisplay.js
+++ b/extensions/places-menu/placeDisplay.js
@@ -486,7 +486,6 @@ var PlacesManager = class {
     }
 
     _reloadBookmarks() {
-
         this._bookmarks = [];
 
         let content = Shell.get_file_contents_utf8_sync(this._bookmarksFile.get_path());
diff --git a/extensions/window-list/extension.js b/extensions/window-list/extension.js
index 3c45d00..616bec6 100644
--- a/extensions/window-list/extension.js
+++ b/extensions/window-list/extension.js
@@ -612,7 +612,6 @@ class AppButton extends BaseButton {
             this._contextMenuManager.addMenu(this._appContextMenu);
             this.label_actor = this._multiWindowTitle.label_actor;
         }
-
     }
 
     _onClicked(actor, button) {


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