diff options
author | Matt A. Tobin <email@mattatobin.com> | 2018-04-05 08:10:46 -0400 |
---|---|---|
committer | Matt A. Tobin <email@mattatobin.com> | 2018-04-05 08:10:46 -0400 |
commit | 6fde853fa8276926f30c7135bdd5f68de3afc35a (patch) | |
tree | 7412498c4796458ddd8a507cef3e126b6ad06a12 /application | |
parent | 321121c827f3da8734a1f852021ff8cfdbc9084f (diff) | |
download | UXP-6fde853fa8276926f30c7135bdd5f68de3afc35a.tar UXP-6fde853fa8276926f30c7135bdd5f68de3afc35a.tar.gz UXP-6fde853fa8276926f30c7135bdd5f68de3afc35a.tar.lz UXP-6fde853fa8276926f30c7135bdd5f68de3afc35a.tar.xz UXP-6fde853fa8276926f30c7135bdd5f68de3afc35a.zip |
[PALEMOON] Fix redeclarations of shorthand Cc, Ci, Cu
Diffstat (limited to 'application')
4 files changed, 3 insertions, 9 deletions
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 @@ <script type="application/javascript"><![CDATA[ // TODO: Bug 406371. // A bunch of browser code depends on us defining these, sad but true :( - var Cc = Components.classes; - var Ci = Components.interfaces; + // var Cc = Components.classes; + // var Ci = Components.interfaces; var Cr = Components.results; Components.utils.import("resource://gre/modules/PlacesUtils.jsm"); |