mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-25 18:07:31 +09:00
[PALEMOON] Resolve issues with redeclaration according to ES6
This commit is contained in:
parent
ce786e442d
commit
f091415fe1
8 changed files with 22 additions and 22 deletions
|
|
@ -10,9 +10,9 @@
|
||||||
* have been properly initialized already.
|
* have been properly initialized already.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
let Cc = Components.classes;
|
var Cc = Components.classes;
|
||||||
let Ci = Components.interfaces;
|
var Ci = Components.interfaces;
|
||||||
let Cu = Components.utils;
|
var 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,8 +3,8 @@
|
||||||
# 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 Ci = Components.interfaces;
|
var Ci = Components.interfaces;
|
||||||
let Cu = Components.utils;
|
var Cu = Components.utils;
|
||||||
|
|
||||||
Cu.import("resource://gre/modules/XPCOMUtils.jsm");
|
Cu.import("resource://gre/modules/XPCOMUtils.jsm");
|
||||||
Cu.import("resource:///modules/RecentWindow.jsm");
|
Cu.import("resource:///modules/RecentWindow.jsm");
|
||||||
|
|
|
||||||
|
|
@ -3,9 +3,9 @@
|
||||||
* 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;
|
var Cc = Components.classes;
|
||||||
let Ci = Components.interfaces;
|
var Ci = Components.interfaces;
|
||||||
let Cu = Components.utils;
|
var Cu = Components.utils;
|
||||||
|
|
||||||
Cu.import("resource://gre/modules/XPCOMUtils.jsm");
|
Cu.import("resource://gre/modules/XPCOMUtils.jsm");
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -4,8 +4,8 @@
|
||||||
|
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
let Cu = Components.utils;
|
var Cu = Components.utils;
|
||||||
let Ci = Components.interfaces;
|
var Ci = Components.interfaces;
|
||||||
|
|
||||||
Cu.import("resource://gre/modules/XPCOMUtils.jsm");
|
Cu.import("resource://gre/modules/XPCOMUtils.jsm");
|
||||||
Cu.import("resource://gre/modules/Services.jsm");
|
Cu.import("resource://gre/modules/Services.jsm");
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
let Cc = Components.classes;
|
var Cc = Components.classes;
|
||||||
let Ci = Components.interfaces;
|
var Ci = Components.interfaces;
|
||||||
let Cu = Components.utils;
|
var Cu = Components.utils;
|
||||||
Cu.import("resource://gre/modules/XPCOMUtils.jsm");
|
Cu.import("resource://gre/modules/XPCOMUtils.jsm");
|
||||||
|
|
||||||
var padlock_PadLock =
|
var padlock_PadLock =
|
||||||
|
|
|
||||||
|
|
@ -8,9 +8,9 @@
|
||||||
* ON IT AS AN API.
|
* ON IT AS AN API.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
let Cu = Components.utils;
|
var Cu = Components.utils;
|
||||||
let Ci = Components.interfaces;
|
var Ci = Components.interfaces;
|
||||||
let Cc = Components.classes;
|
var Cc = Components.classes;
|
||||||
|
|
||||||
Cu.import("resource://gre/modules/XPCOMUtils.jsm");
|
Cu.import("resource://gre/modules/XPCOMUtils.jsm");
|
||||||
Cu.import("resource://gre/modules/Services.jsm");
|
Cu.import("resource://gre/modules/Services.jsm");
|
||||||
|
|
|
||||||
|
|
@ -4,9 +4,9 @@
|
||||||
|
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
let Cc = Components.classes;
|
var Cc = Components.classes;
|
||||||
let Ci = Components.interfaces;
|
var Ci = Components.interfaces;
|
||||||
let Cu = Components.utils;
|
var Cu = Components.utils;
|
||||||
|
|
||||||
Cu.import("resource://gre/modules/XPCOMUtils.jsm");
|
Cu.import("resource://gre/modules/XPCOMUtils.jsm");
|
||||||
Cu.import("resource://gre/modules/FileUtils.jsm");
|
Cu.import("resource://gre/modules/FileUtils.jsm");
|
||||||
|
|
|
||||||
|
|
@ -2,9 +2,9 @@
|
||||||
* 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 Ci = Components.interfaces;
|
var Ci = Components.interfaces;
|
||||||
let Cc = Components.classes;
|
var Cc = Components.classes;
|
||||||
let Cu = Components.utils;
|
var Cu = Components.utils;
|
||||||
|
|
||||||
Cu.import("resource://gre/modules/Services.jsm");
|
Cu.import("resource://gre/modules/Services.jsm");
|
||||||
Cu.import("resource://gre/modules/PluralForm.jsm");
|
Cu.import("resource://gre/modules/PluralForm.jsm");
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue