mirror of
https://github.com/zotero/zotero.git
synced 2026-10-03 02:21:49 +00:00
fx140: Fix other bare imports in file.js
This commit is contained in:
parent
1197683ab3
commit
60983dadd5
1 changed files with 2 additions and 2 deletions
|
|
@ -28,8 +28,8 @@
|
|||
* @namespace
|
||||
*/
|
||||
Zotero.File = new function () {
|
||||
ChromeUtils.importESModule("resource://gre/modules/NetUtil.sys.mjs");
|
||||
ChromeUtils.importESModule("resource://gre/modules/FileUtils.sys.mjs");
|
||||
const { NetUtil } = ChromeUtils.importESModule("resource://gre/modules/NetUtil.sys.mjs");
|
||||
const { FileUtils } = ChromeUtils.importESModule("resource://gre/modules/FileUtils.sys.mjs");
|
||||
|
||||
this.getExtension = getExtension;
|
||||
this.getContentsFromURL = getContentsFromURL;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue