[or-cvs] r10261: [darcs-to-svn @ fix javascript complaint in torbutton_log()] (torbutton/trunk/src/chrome/content)
squires at seul.org
squires at seul.org
Tue May 22 05:24:15 UTC 2007
Author: squires
Date: 2007-05-22 01:24:15 -0400 (Tue, 22 May 2007)
New Revision: 10261
Modified:
torbutton/trunk/src/chrome/content/torbutton.js
Log:
[darcs-to-svn @ fix javascript complaint in torbutton_log()]
Original author: squires at pobox.com
Date: 2006-09-23 03:01:37+00:00
Modified: torbutton/trunk/src/chrome/content/torbutton.js
===================================================================
--- torbutton/trunk/src/chrome/content/torbutton.js 2007-05-22 05:24:10 UTC (rev 10260)
+++ torbutton/trunk/src/chrome/content/torbutton.js 2007-05-22 05:24:15 UTC (rev 10261)
@@ -430,11 +430,10 @@
}
function torbutton_log(nLevel, sMsg) {
+ var rDate = new Date();
if (m_tb_logger) {
- var rDate = new Date();
m_tb_logger.log(nLevel, rDate.getTime()+': '+sMsg);
} else if (m_debug) {
- var rDate = new Date();
dump("ERROR: m_tb_logger undefined ");
dump(rDate.getTime()+': '+sMsg+"\n");
}
More information about the tor-commits
mailing list