From ba7e3fc0b50e26425c3b7dceb538855c8b17afa2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Sat, 14 Nov 2020 00:43:48 +0100 Subject: [PATCH] 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 de8dec0b..3167df30 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 3d3b516e..ae9ee9fe 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 3c45d002..616bec60 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) {