[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] r10261: [darcs-to-svn @ fix javascript complaint in torbutton_log()] (torbutton/trunk/src/chrome/content)
- To: or-cvs@xxxxxxxxxxxxx
- Subject: [or-cvs] r10261: [darcs-to-svn @ fix javascript complaint in torbutton_log()] (torbutton/trunk/src/chrome/content)
- From: squires@xxxxxxxx
- Date: Tue, 22 May 2007 01:24:15 -0400 (EDT)
- Delivered-to: archiver@seul.org
- Delivered-to: or-cvs-outgoing@seul.org
- Delivered-to: or-cvs@seul.org
- Delivery-date: Tue, 22 May 2007 01:24:22 -0400
- Reply-to: or-dev@xxxxxxxxxxxxx
- Sender: owner-or-cvs@xxxxxxxxxxxxx
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@xxxxxxxxx
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");
}