mirror of
https://github.com/zotero/zotero.git
synced 2026-09-29 01:41:24 +00:00
Fix other bare imports in file.js
This commit is contained in:
parent
d911981e84
commit
da18a465c5
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