Fix to fail loading module.

This commit is contained in:
saneyuki_s 2013-01-03 09:59:43 +09:00
parent d2ee91b604
commit ab170f086c

View File

@ -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');