From e8d6c71ee96a96230aadd5504e3f312774896920 Mon Sep 17 00:00:00 2001 From: Matěj Cepl Date: Fri, 11 Jun 2010 21:49:43 +0200 Subject: More cleanup to make a simple reproducer --- lib/logger.js | 4 ---- 1 file changed, 4 deletions(-) (limited to 'lib/logger.js') diff --git a/lib/logger.js b/lib/logger.js index 702465a..cc3f213 100644 --- a/lib/logger.js +++ b/lib/logger.js @@ -3,11 +3,8 @@ "use strict"; var urlMod = require("url"); var urilMod = require("util"); -var Color = require("color").Color; var Logger = exports.Logger = function Logger(store, abbsMap) { - this.EmptyLogsColor = new Color(0, 255, 0); - this.FullLogsColor = new Color(0, 40, 103); this.store = store; this.abbsMap = abbsMap; @@ -27,7 +24,6 @@ Logger.prototype.addLogRecord = function(that) { + urlMod.parse(rec.url).host + "+" + that.bugNo; let clearLogAElem = that.doc.getElementById("clearLogs"); - clearLogAElem.style.color = this.FullLogsColor; clearLogAElem.style.fontWeight = "bolder"; if (this.store[recKey]) { this.store[recKey].comment += "
\n" + comment; -- cgit