mirror of
https://codeberg.org/librewolf/source.git
synced 2025-03-12 14:11:42 -05:00
Remove unnescessary ChromeUtils.import
statements causing errors
See #2292
This commit is contained in:
parent
1656ecd148
commit
c41bc77f87
2 changed files with 1 additions and 8 deletions
|
@ -5,8 +5,7 @@
|
|||
/* import-globals-from extensionControlled.js */
|
||||
/* import-globals-from preferences.js */
|
||||
|
||||
var { AppConstants } = ChromeUtils.import( "resource://gre/modules/AppConstants.jsm");
|
||||
XPCOMUtils.defineLazyGetter(this, "L10n", () => {
|
||||
ChromeUtils.defineLazyGetter(this, "L10n", () => {
|
||||
return new Localization([
|
||||
"branding/brand.ftl",
|
||||
"browser/preferences/preferences.ftl",
|
||||
|
|
|
@ -4,12 +4,6 @@
|
|||
|
||||
"use strict";
|
||||
|
||||
// Services = object with smart getters for common XPCOM services
|
||||
var { Services } = ChromeUtils.import("resource://gre/modules/Services.jsm");
|
||||
var { AppConstants } = ChromeUtils.import(
|
||||
"resource://gre/modules/AppConstants.jsm"
|
||||
);
|
||||
|
||||
async function init(aEvent) {
|
||||
if (aEvent.target != document) {
|
||||
return;
|
||||
|
|
Loading…
Add table
Reference in a new issue