mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-22 15:17:29 +09:00
[PALEMOON] Fix redeclarations of shorthand Cc, Ci, Cu
This commit is contained in:
parent
c8af8ae332
commit
be3cf619b0
4 changed files with 3 additions and 9 deletions
|
|
@ -10,10 +10,6 @@
|
||||||
* 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,6 +3,7 @@
|
||||||
# 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,6 +1,3 @@
|
||||||
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