mirror of
https://github.com/ManchildProductions/UXP-Fixed.git
synced 2026-07-06 13:58:44 +00:00
Revert "[PALEMOON] Fix redeclarations of shorthand Cc, Ci, Cu"
This reverts commit 6fde853fa8.
This commit is contained in:
@@ -10,6 +10,10 @@
|
||||
* 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");
|
||||
|
||||
|
||||
@@ -3,7 +3,6 @@
|
||||
# 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;
|
||||
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
let Cc = Components.classes;
|
||||
let Ci = Components.interfaces;
|
||||
let Cu = Components.utils;
|
||||
Cu.import("resource://gre/modules/XPCOMUtils.jsm");
|
||||
|
||||
var padlock_PadLock =
|
||||
|
||||
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user