reduce codes for compatibility with old Firefox

This commit is contained in:
Piro / SHIMODA Hiroshi 2012-01-14 01:18:45 +09:00
parent e10bb9b2f3
commit 4535b60b50

View File

@ -14,7 +14,7 @@
* The Original Code is the Tree Style Tab. * The Original Code is the Tree Style Tab.
* *
* The Initial Developer of the Original Code is SHIMODA Hiroshi. * The Initial Developer of the Original Code is SHIMODA Hiroshi.
* Portions created by the Initial Developer are Copyright (C) 2009 * Portions created by the Initial Developer are Copyright (C) 2009-2012
* the Initial Developer. All Rights Reserved. * the Initial Developer. All Rights Reserved.
* *
* Contributor(s): SHIMODA Hiroshi <piro.outsider.reflex@gmail.com> * Contributor(s): SHIMODA Hiroshi <piro.outsider.reflex@gmail.com>
@ -60,7 +60,4 @@ AboutGroup.prototype = {
QueryInterface : XPCOMUtils.generateQI([Components.interfaces.nsIAboutModule]) QueryInterface : XPCOMUtils.generateQI([Components.interfaces.nsIAboutModule])
}; };
if (XPCOMUtils.generateNSGetFactory) var NSGetFactory = XPCOMUtils.generateNSGetFactory([AboutGroup]);
var NSGetFactory = XPCOMUtils.generateNSGetFactory([AboutGroup]);
else
var NSGetModule = XPCOMUtils.generateNSGetModule([AboutGroup]);