[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[linterna-magica-commit] [108] Merging latest changes from trunk
From: |
Ivaylo Valkov |
Subject: |
[linterna-magica-commit] [108] Merging latest changes from trunk |
Date: |
Tue, 05 Jul 2011 08:19:26 +0000 |
Revision: 108
http://svn.sv.gnu.org/viewvc/?view=rev&root=linterna-magica&revision=108
Author: valkov
Date: 2011-07-05 08:19:25 +0000 (Tue, 05 Jul 2011)
Log Message:
-----------
Merging latest changes from trunk
Modified Paths:
--------------
branches/task-11216/src/lm_log.js
Property Changed:
----------------
branches/task-11216/
Property changes on: branches/task-11216
___________________________________________________________________
Modified: svn:mergeinfo
- /branches/0.0.9:94
/trunk:103
+ /branches/0.0.9:94
/trunk:103,107
Modified: branches/task-11216/src/lm_log.js
===================================================================
--- branches/task-11216/src/lm_log.js 2011-07-05 08:08:33 UTC (rev 107)
+++ branches/task-11216/src/lm_log.js 2011-07-05 08:19:25 UTC (rev 108)
@@ -44,18 +44,6 @@
if (this.debug_level >= level)
{
- var w = null;
- try
- {
- // Firefox and Greasemonkey
- w = usafeWindow;
- }
- catch(e)
- {
- // Epiphany and Midori
- w = window;
- }
-
// Simple log/debug
// console.log(window.location.hostname+": "+message);
@@ -64,7 +52,7 @@
var date = new Date();
var str = [date.getHours(), date.getMinutes(),
date.getSeconds(), date.getMilliseconds()].join(":");
- var host_get = w.self;
+ var host_get = window.self;
var host = host_get.location.hostname;
var log_string = message + " at "+host + " time: "+str;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [linterna-magica-commit] [108] Merging latest changes from trunk,
Ivaylo Valkov <=