mirror of
https://github.com/zotero/zotero.git
synced 2026-08-28 05:25:31 +00:00
fx153: Interface should load with nsIID instead of string (#6008)
This commit is contained in:
parent
8fb2870f93
commit
09249bfb73
3 changed files with 3 additions and 3 deletions
|
|
@ -29,7 +29,7 @@ var { XPCOMUtils } = ChromeUtils.importESModule("resource://gre/modules/XPCOMUti
|
|||
* This object contains the various functions for the interface
|
||||
*/
|
||||
var Zotero_LocateMenu = new function () {
|
||||
XPCOMUtils.defineLazyServiceGetter(this, "ios", "@mozilla.org/network/io-service;1", "nsIIOService");
|
||||
XPCOMUtils.defineLazyServiceGetter(this, "ios", "@mozilla.org/network/io-service;1", Ci.nsIIOService);
|
||||
|
||||
/**
|
||||
* Clear and build the locate menu
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@ Zotero.Plugins = new function () {
|
|||
XPCOMUtils.defineLazyServiceGetters(lazy, {
|
||||
aomStartup: [
|
||||
"@mozilla.org/addons/addon-manager-startup;1",
|
||||
"amIAddonManagerStartup",
|
||||
Ci.amIAddonManagerStartup,
|
||||
],
|
||||
});
|
||||
var scopes = new Map();
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ XPCOMUtils.defineLazyServiceGetter(
|
|||
lazy,
|
||||
"resProto",
|
||||
"@mozilla.org/network/protocol;1?name=resource",
|
||||
"nsIResProtocolHandler"
|
||||
Ci.nsIResProtocolHandler
|
||||
);
|
||||
|
||||
ChromeUtils.defineESModuleGetters(
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue