From 4a0bcc39b1e1b49dcaa0aa2ab674c6f1ba51e9e5 Mon Sep 17 00:00:00 2001 From: Matěj Cepl Date: Fri, 28 Jan 2011 16:38:36 +0100 Subject: Tons of fixes, we are almost in state that the primitive run is possible. TOOD: * The most important part is we have to run libbz.initialize() and wait until it is done. --- lib/logger.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'lib/logger.js') diff --git a/lib/logger.js b/lib/logger.js index f64a6e9..cbe670d 100644 --- a/lib/logger.js +++ b/lib/logger.js @@ -4,7 +4,6 @@ var urlMod = require("url"); var utilMod = require("util"); var fileMod = require("file"); -var Color = require("color").Color; var tabs = require("tabs"); var prompts = require("prompts"); var apiUtils = require("api-utils"); @@ -12,8 +11,8 @@ var xrpc = require("xmlrpc"); var myStorage = require("simple-storage"); var Logger = exports.Logger = function Logger(abbsMap) { - this.EmptyLogsColor = new Color(0, 255, 0); - this.FullLogsColor = new Color(0, 40, 103); + this.EmptyLogsColor = rgb(0, 255, 0); + this.FullLogsColor = rgb(0, 40, 103); if (!myStorage.storage.logs) { myStorage.storage.logs = {}; -- cgit