[gnome-shell/wip/rstrode/rhel-7.9: 77/86] appDisplay: Add missing semicolon
- From: Ray Strode <halfline src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/wip/rstrode/rhel-7.9: 77/86] appDisplay: Add missing semicolon
- Date: Fri, 12 Feb 2021 19:04:08 +0000 (UTC)
commit b77222dc6e3e912fe06d697b8064e9d5b25d4917
Author: Florian Müllner <fmuellner gnome org>
Date: Tue Jul 23 19:42:16 2019 +0200
appDisplay: Add missing semicolon
This slipped through in commit eaa320 ...
https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/640
js/ui/appDisplay.js | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/js/ui/appDisplay.js b/js/ui/appDisplay.js
index 8def0897f4..e9c12462d0 100644
--- a/js/ui/appDisplay.js
+++ b/js/ui/appDisplay.js
@@ -158,8 +158,9 @@ var BaseAppView = new Lang.Class({
addItem(icon) {
let id = icon.id;
+
if (this.hasItem(id))
- throw new Error(`icon with id ${id} already added to view`)
+ throw new Error(`icon with id ${id} already added to view`);
this._allItems.push(icon);
this._items[id] = icon;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]