diff options
author | janekptacijarabaci <janekptacijarabaci@seznam.cz> | 2018-04-26 05:39:27 +0200 |
---|---|---|
committer | janekptacijarabaci <janekptacijarabaci@seznam.cz> | 2018-04-26 05:39:27 +0200 |
commit | b0d7b1bb38ba3c6940d17c6974b5295d9a10e161 (patch) | |
tree | 9ab7f6e19215bf87dac611f51299953e7c710dd5 /application/palemoon/components/preferences/aboutPermissions.js | |
parent | 6c3f95480a191ce432ddfb2aa400a6d70c4884a8 (diff) | |
download | UXP-b0d7b1bb38ba3c6940d17c6974b5295d9a10e161.tar UXP-b0d7b1bb38ba3c6940d17c6974b5295d9a10e161.tar.gz UXP-b0d7b1bb38ba3c6940d17c6974b5295d9a10e161.tar.lz UXP-b0d7b1bb38ba3c6940d17c6974b5295d9a10e161.tar.xz UXP-b0d7b1bb38ba3c6940d17c6974b5295d9a10e161.zip |
Bug 996448 - Lazify the loading of PluralForm.jsm everywhere
Diffstat (limited to 'application/palemoon/components/preferences/aboutPermissions.js')
-rw-r--r-- | application/palemoon/components/preferences/aboutPermissions.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/application/palemoon/components/preferences/aboutPermissions.js b/application/palemoon/components/preferences/aboutPermissions.js index 31b48f88e..99c9d44ad 100644 --- a/application/palemoon/components/preferences/aboutPermissions.js +++ b/application/palemoon/components/preferences/aboutPermissions.js @@ -6,13 +6,16 @@ var Ci = Components.interfaces; var Cc = Components.classes; var Cu = Components.utils; +Cu.import("resource://gre/modules/XPCOMUtils.jsm"); Cu.import("resource://gre/modules/Services.jsm"); -Cu.import("resource://gre/modules/PluralForm.jsm"); Cu.import("resource://gre/modules/DownloadUtils.jsm"); Cu.import("resource://gre/modules/AddonManager.jsm"); Cu.import("resource://gre/modules/NetUtil.jsm"); Cu.import("resource://gre/modules/ForgetAboutSite.jsm"); +XPCOMUtils.defineLazyModuleGetter(this, "PluralForm", + "resource://gre/modules/PluralForm.jsm"); + var gFaviconService = Cc["@mozilla.org/browser/favicon-service;1"]. getService(Ci.nsIFaviconService); |