mirror of
https://github.com/zotero/zotero.git
synced 2026-08-28 05:25:31 +00:00
fx140: ESMify word-processor-plugin-installer
This commit is contained in:
parent
35919f640c
commit
601a1f2292
1 changed files with 3 additions and 4 deletions
|
|
@ -27,10 +27,9 @@
|
|||
* installable and available in the cite preferences pane.
|
||||
*/
|
||||
|
||||
var EXPORTED_SYMBOLS = ["ZoteroPluginInstaller"];
|
||||
import { Zotero } from "chrome://zotero/content/zotero.mjs";
|
||||
|
||||
var { Zotero } = ChromeUtils.importESModule("chrome://zotero/content/zotero.mjs");
|
||||
var { setTimeout } = ChromeUtils.importESModule("resource://gre/modules/Timer.sys.mjs");
|
||||
import { setTimeout } from "resource://gre/modules/Timer.sys.mjs";
|
||||
|
||||
|
||||
var installationInProgress = false;
|
||||
|
|
@ -48,7 +47,7 @@ var installationInProgress = false;
|
|||
* @param force {Boolean} force install even if the plugin version is up-to-date
|
||||
* @constructor
|
||||
*/
|
||||
var ZoteroPluginInstaller = function (addon, failSilently, force) {
|
||||
export var ZoteroPluginInstaller = function (addon, failSilently, force) {
|
||||
this._addon = addon;
|
||||
this.failSilently = failSilently;
|
||||
this.force = force;
|
||||
Loading…
Add table
Reference in a new issue