mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-25 00:27:29 +09:00
Revert "[PALEMOON] Fix redeclarations of shorthand Cc, Ci, Cu"
This reverts commit 6fde853fa8276926f30c7135bdd5f68de3afc35a.
This commit is contained in:
parent
de8779303a
commit
ce786e442d
4 changed files with 9 additions and 3 deletions
|
|
@ -10,6 +10,10 @@
|
||||||
* have been properly initialized already.
|
* 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
|
// Services = object with smart getters for common XPCOM services
|
||||||
Cu.import("resource://gre/modules/Services.jsm");
|
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
|
# 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/.
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||||
|
|
||||||
let Cc = Components.classes;
|
|
||||||
let Ci = Components.interfaces;
|
let Ci = Components.interfaces;
|
||||||
let Cu = Components.utils;
|
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");
|
Cu.import("resource://gre/modules/XPCOMUtils.jsm");
|
||||||
|
|
||||||
var padlock_PadLock =
|
var padlock_PadLock =
|
||||||
|
|
|
||||||
|
|
@ -20,8 +20,8 @@
|
||||||
<script type="application/javascript"><![CDATA[
|
<script type="application/javascript"><![CDATA[
|
||||||
// TODO: Bug 406371.
|
// TODO: Bug 406371.
|
||||||
// A bunch of browser code depends on us defining these, sad but true :(
|
// A bunch of browser code depends on us defining these, sad but true :(
|
||||||
// var Cc = Components.classes;
|
var Cc = Components.classes;
|
||||||
// var Ci = Components.interfaces;
|
var Ci = Components.interfaces;
|
||||||
var Cr = Components.results;
|
var Cr = Components.results;
|
||||||
|
|
||||||
Components.utils.import("resource://gre/modules/PlacesUtils.jsm");
|
Components.utils.import("resource://gre/modules/PlacesUtils.jsm");
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue