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:
Alexander Rüedlinger
2017-10-18 18:20:48 +02:00
parent 14a6bfc324
commit 755b0d5d50

View File

@@ -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,