mirror of
https://github.com/morgan9e/dash-to-panel
synced 2026-04-14 00:04:17 +09:00
appIcons.js: Define classes using 'var'
This commit fixes some JS warnings that a property was defined with 'let' or 'const' inside the module appIcons.js. Signed-off-by: Alexander Rüedlinger <a.rueedlinger@gmail.com>
This commit is contained in:
@@ -91,7 +91,7 @@ let tracker = Shell.WindowTracker.get_default();
|
||||
*
|
||||
*/
|
||||
|
||||
const taskbarAppIcon = new Lang.Class({
|
||||
var taskbarAppIcon = new Lang.Class({
|
||||
Name: 'DashToPanel.TaskbarAppIcon',
|
||||
Extends: AppDisplay.AppIcon,
|
||||
|
||||
@@ -941,7 +941,7 @@ function getInterestingWindows(app, settings) {
|
||||
* (https://github.com/deuill/shell-extension-quitfromdash)
|
||||
*/
|
||||
|
||||
const taskbarSecondaryMenu = new Lang.Class({
|
||||
var taskbarSecondaryMenu = new Lang.Class({
|
||||
Name: 'DashToPanel.SecondaryMenu',
|
||||
Extends: AppDisplay.AppIconMenu,
|
||||
|
||||
@@ -1207,7 +1207,7 @@ function extendShowAppsIcon(showAppsIcon, settings) {
|
||||
/**
|
||||
* A menu for the showAppsIcon
|
||||
*/
|
||||
const MyShowAppsIconMenu = new Lang.Class({
|
||||
var MyShowAppsIconMenu = new Lang.Class({
|
||||
Name: 'DashToPanel.ShowAppsIconMenu',
|
||||
Extends: taskbarSecondaryMenu,
|
||||
|
||||
|
||||
Reference in New Issue
Block a user