Missed file from r1203 and removal of unrelated changes in zotero.js

This commit is contained in:
Dan Stillman 2007-02-28 11:39:20 +00:00
parent f161b1afb8
commit 3e2bb8a4d7
2 changed files with 4 additions and 4 deletions

View File

@ -95,6 +95,10 @@ var Zotero_Browser = new function() {
* loading
*/
function init() {
if (!Zotero || !Zotero.initialized) {
return;
}
Zotero_Browser.browserData = new Object();
Zotero_Browser._scrapePopupShowing = false;
Zotero.Ingester.ProxyMonitor.init();

View File

@ -121,10 +121,6 @@ var Zotero = new function(){
getService(Components.interfaces.nsILocaleService);
this.locale = localeService.getLocaleComponentForUserAgent();
//var serv = Components.classes["@mozilla.org/network/protocol;1?name=http"].getService(Components.interfaces.nsIHttpProtocolHandler);
//Components.classes["@mozilla.org/network/protocol;1?name=http"].getService(Components.interfaces.nsIHttpProtocolHandler).language
//Components.classes['@mozilla.org/intl/nslocaleservice;1'].getService(Components.interfaces.nsILocaleService).getApplicationLocale().getCategory("NSILOCALE_MESSAGES")
// Load in the localization stringbundle for use by getString(name)
var src = 'chrome://zotero/locale/zotero.properties';
var appLocale = localeService.getApplicationLocale();