From ee8229b80ad77cf20e7b80857c60906f87232f4d Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Mon, 1 Sep 2008 04:34:47 +0000 Subject: [PATCH] Two JS strict warnings --- chrome/content/zotero/proxy.js | 2 +- chrome/content/zotero/xpcom/proxy.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/chrome/content/zotero/proxy.js b/chrome/content/zotero/proxy.js index 580df25043..a1494d5761 100644 --- a/chrome/content/zotero/proxy.js +++ b/chrome/content/zotero/proxy.js @@ -28,7 +28,7 @@ * Interface for proxy.xul add proxy confirmation dialog * @namespace */ -Zotero_Proxy_Dialog = new function() { +var Zotero_Proxy_Dialog = new function() { var halfSecondsRemaining = 4; var acceptButton; var addString; diff --git a/chrome/content/zotero/xpcom/proxy.js b/chrome/content/zotero/xpcom/proxy.js index 9abd62973a..33852380cb 100644 --- a/chrome/content/zotero/xpcom/proxy.js +++ b/chrome/content/zotero/xpcom/proxy.js @@ -454,7 +454,7 @@ Zotero.Proxy.prototype.toProper = function(m) { * @type String */ Zotero.Proxy.prototype.toProxy = function(uri) { - proxyURL = this.scheme; + var proxyURL = this.scheme; for(var i=this.parameters.length-1; i>=0; i--) { var param = this.parameters[i];