Fix to fail loading module.
This commit is contained in:
parent
d2ee91b604
commit
ab170f086c
@ -40,11 +40,8 @@ const Ci = Components.interfaces;
|
|||||||
|
|
||||||
Components.utils.import('resource://gre/modules/XPCOMUtils.jsm');
|
Components.utils.import('resource://gre/modules/XPCOMUtils.jsm');
|
||||||
|
|
||||||
XPCOMUtils.defineLazyGetter(this, 'prefs', function() {
|
XPCOMUtils.defineLazyModuleGetter(this, "prefs",
|
||||||
Components.utils.import('resource://treestyletab-modules/lib/prefs.js');
|
'resource://treestyletab-modules/lib/prefs.js');
|
||||||
return window['piro.sakura.ne.jp'].prefs;
|
|
||||||
});
|
|
||||||
|
|
||||||
XPCOMUtils.defineLazyModuleGetter(this, "Services", "resource://gre/modules/Services.jsm");
|
XPCOMUtils.defineLazyModuleGetter(this, "Services", "resource://gre/modules/Services.jsm");
|
||||||
|
|
||||||
Components.utils.import('resource://treestyletab-modules/base.js');
|
Components.utils.import('resource://treestyletab-modules/base.js');
|
||||||
|
Loading…
Reference in New Issue
Block a user