mirror of
https://github.com/zotero/zotero.git
synced 2026-09-29 01:41:24 +00:00
fx140: Remove unused bare imports
This commit is contained in:
parent
c8dd6095c8
commit
c434ec40dd
3 changed files with 0 additions and 6 deletions
|
|
@ -32,7 +32,6 @@ const ZOTERO_PROTOCOL_CID = Components.ID("{9BC3D762-9038-486A-9D70-C997AF848A7C
|
|||
const ZOTERO_PROTOCOL_CONTRACTID = "@mozilla.org/network/protocol;1?name=" + ZOTERO_SCHEME;
|
||||
const ZOTERO_PROTOCOL_NAME = "Zotero Chrome Extension Protocol";
|
||||
|
||||
ChromeUtils.importESModule("resource://gre/modules/ComponentUtils.sys.mjs");
|
||||
import { NetUtil } from "resource://gre/modules/NetUtil.sys.mjs";
|
||||
|
||||
const Cc = Components.classes;
|
||||
|
|
@ -1404,7 +1403,6 @@ AsyncChannel.prototype = {
|
|||
this.contentType = Zotero.MIME.getMIMETypeFromData(sample);
|
||||
}
|
||||
|
||||
ChromeUtils.importESModule("resource://gre/modules/NetUtil.sys.mjs");
|
||||
NetUtil.asyncFetch({ uri: data, loadUsingSystemPrincipal: true }, function (inputStream, status) {
|
||||
if (!Components.isSuccessCode(status)) {
|
||||
reject();
|
||||
|
|
|
|||
|
|
@ -34,8 +34,6 @@ const BOMs = {
|
|||
"UTF-32LE":"\xFF\xFE\x00\x00"
|
||||
}
|
||||
|
||||
ChromeUtils.importESModule("resource://gre/modules/NetUtil.sys.mjs");
|
||||
|
||||
Zotero.Translate.DOMWrapper = new function () {
|
||||
var Cu = Components.utils;
|
||||
|
||||
|
|
|
|||
|
|
@ -30,8 +30,6 @@ const Cc = Components.classes;
|
|||
const Ci = Components.interfaces;
|
||||
const Cr = Components.results;
|
||||
|
||||
ChromeUtils.importESModule("resource://gre/modules/ComponentUtils.sys.mjs");
|
||||
|
||||
import { Zotero } from "chrome://zotero/content/zotero.mjs";
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue