From 6fde853fa8276926f30c7135bdd5f68de3afc35a Mon Sep 17 00:00:00 2001 From: "Matt A. Tobin" Date: Thu, 5 Apr 2018 08:10:46 -0400 Subject: [PALEMOON] Fix redeclarations of shorthand Cc, Ci, Cu --- application/palemoon/base/content/autorecovery.js | 4 ---- application/palemoon/base/content/browser.js | 1 + application/palemoon/base/content/padlock.js | 3 --- application/palemoon/components/places/content/placesOverlay.xul | 4 ++-- 4 files changed, 3 insertions(+), 9 deletions(-) (limited to 'application') diff --git a/application/palemoon/base/content/autorecovery.js b/application/palemoon/base/content/autorecovery.js index 29ccaed3f..c24d1bfe4 100644 --- a/application/palemoon/base/content/autorecovery.js +++ b/application/palemoon/base/content/autorecovery.js @@ -10,10 +10,6 @@ * have been properly initialized already. */ -let Cc = Components.classes; -let Ci = Components.interfaces; -let Cu = Components.utils; - // Services = object with smart getters for common XPCOM services Cu.import("resource://gre/modules/Services.jsm"); diff --git a/application/palemoon/base/content/browser.js b/application/palemoon/base/content/browser.js index 5a832c077..ffb133963 100644 --- a/application/palemoon/base/content/browser.js +++ b/application/palemoon/base/content/browser.js @@ -3,6 +3,7 @@ # 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 Cc = Components.classes; let Ci = Components.interfaces; let Cu = Components.utils; diff --git a/application/palemoon/base/content/padlock.js b/application/palemoon/base/content/padlock.js index 53477fd17..9e6715769 100644 --- a/application/palemoon/base/content/padlock.js +++ b/application/palemoon/base/content/padlock.js @@ -1,6 +1,3 @@ -let Cc = Components.classes; -let Ci = Components.interfaces; -let Cu = Components.utils; Cu.import("resource://gre/modules/XPCOMUtils.jsm"); var padlock_PadLock = diff --git a/application/palemoon/components/places/content/placesOverlay.xul b/application/palemoon/components/places/content/placesOverlay.xul index dd4d50f01..30319a6ac 100644 --- a/application/palemoon/components/places/content/placesOverlay.xul +++ b/application/palemoon/components/places/content/placesOverlay.xul @@ -20,8 +20,8 @@