commit ee8229b80ad77cf20e7b80857c60906f87232f4d
parent 68f7f933c2bc76434911bb6cb6938d928dca92fa
Author: Dan Stillman <dstillman@zotero.org>
Date: Mon, 1 Sep 2008 04:34:47 +0000
Two JS strict warnings
Diffstat:
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git 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
@@ -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];