From 588a484c53653d37729b6a874bb5ab447cea4867 Mon Sep 17 00:00:00 2001 From: "Matt A. Tobin" Date: Thu, 12 Apr 2018 07:28:41 -0400 Subject: [PALEMOON] Resolve issues with redeclaration according to ES6 --- .../components/downloads/content/allDownloadsViewOverlay.js | 6 +++--- application/palemoon/components/migration/SafariProfileMigrator.js | 6 +++--- application/palemoon/components/preferences/aboutPermissions.js | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) (limited to 'application/palemoon/components') diff --git a/application/palemoon/components/downloads/content/allDownloadsViewOverlay.js b/application/palemoon/components/downloads/content/allDownloadsViewOverlay.js index 51f32601a..9d90b20e1 100644 --- a/application/palemoon/components/downloads/content/allDownloadsViewOverlay.js +++ b/application/palemoon/components/downloads/content/allDownloadsViewOverlay.js @@ -8,9 +8,9 @@ * ON IT AS AN API. */ -let Cu = Components.utils; -let Ci = Components.interfaces; -let Cc = Components.classes; +var Cu = Components.utils; +var Ci = Components.interfaces; +var Cc = Components.classes; Cu.import("resource://gre/modules/XPCOMUtils.jsm"); Cu.import("resource://gre/modules/Services.jsm"); diff --git a/application/palemoon/components/migration/SafariProfileMigrator.js b/application/palemoon/components/migration/SafariProfileMigrator.js index 70804793d..e3f73c2c8 100644 --- a/application/palemoon/components/migration/SafariProfileMigrator.js +++ b/application/palemoon/components/migration/SafariProfileMigrator.js @@ -4,9 +4,9 @@ "use strict"; -let Cc = Components.classes; -let Ci = Components.interfaces; -let Cu = Components.utils; +var Cc = Components.classes; +var Ci = Components.interfaces; +var Cu = Components.utils; Cu.import("resource://gre/modules/XPCOMUtils.jsm"); Cu.import("resource://gre/modules/FileUtils.jsm"); diff --git a/application/palemoon/components/preferences/aboutPermissions.js b/application/palemoon/components/preferences/aboutPermissions.js index 4d803145d..106d45f89 100644 --- a/application/palemoon/components/preferences/aboutPermissions.js +++ b/application/palemoon/components/preferences/aboutPermissions.js @@ -2,9 +2,9 @@ * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -let Ci = Components.interfaces; -let Cc = Components.classes; -let Cu = Components.utils; +var Ci = Components.interfaces; +var Cc = Components.classes; +var Cu = Components.utils; Cu.import("resource://gre/modules/Services.jsm"); Cu.import("resource://gre/modules/PluralForm.jsm"); -- cgit v1.2.3