From b0114216a2e7ab0defa9eaca85c672c59913299f Mon Sep 17 00:00:00 2001 From: Andy Holmes Date: Thu, 21 Sep 2023 19:22:30 -0700 Subject: [PATCH] cleanup: remove extraneous semi-colons and tabs --- appIcons.js | 6 +++--- prefs.js | 2 +- progress.js | 2 +- taskbar.js | 8 ++++---- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/appIcons.js b/appIcons.js index 2ca2b16..c513aae 100644 --- a/appIcons.js +++ b/appIcons.js @@ -579,7 +579,7 @@ export const TaskbarAppIcon = GObject.registerClass({ let highlightMargin = this._focusedIsWide ? SETTINGS.get_int('dot-size') : 0; if(!this.window) { - let containerWidth = this._dtpIconContainer.get_width() / Utils.getScaleFactor();; + let containerWidth = this._dtpIconContainer.get_width() / Utils.getScaleFactor(); let backgroundSize = containerWidth + "px " + (containerWidth - (pos == DOT_POSITION.BOTTOM ? highlightMargin : 0)) + "px;"; @@ -1495,7 +1495,7 @@ export class TaskbarSecondaryMenu extends AppMenu.AppMenu { Mainloop.idle_add(() => windows.forEach((w) => !!w.get_compositor_private() && w.delete(time++))) } -}; +} /** * This function is used for extendDashItemContainer @@ -1567,7 +1567,7 @@ export function ItemShowLabel() { time: duration, transition: 'easeOutQuad', }); -}; +} /** * A wrapper class around the ShowAppsIcon class. diff --git a/prefs.js b/prefs.js index ace8553..e258b3c 100644 --- a/prefs.js +++ b/prefs.js @@ -151,7 +151,7 @@ function mergeObjects(main, bck) { } return main; -}; +} const Preferences = class { diff --git a/progress.js b/progress.js index f12e820..473b19d 100644 --- a/progress.js +++ b/progress.js @@ -280,7 +280,7 @@ export class AppProgress extends EventEmitter { } } } -}; +} export const ProgressIndicator = class { diff --git a/taskbar.js b/taskbar.js index 0399855..81e9e9f 100644 --- a/taskbar.js +++ b/taskbar.js @@ -67,7 +67,7 @@ const T3 = 'resetHoverTimeout' export function extendDashItemContainer(dashItemContainer) { dashItemContainer.showLabel = AppIcons.ItemShowLabel; -}; +} const iconAnimationSettings = { _getDictValue(key) { @@ -308,9 +308,9 @@ export const Taskbar = class extends EventEmitter { } ], [ - this._appSystem, - 'app-state-changed', - this._queueRedisplay.bind(this) + this._appSystem, + 'app-state-changed', + this._queueRedisplay.bind(this) ], [ AppFavorites.getAppFavorites(),