From 66eae433f98e8c9aed47200d96161d2404402cc1 Mon Sep 17 00:00:00 2001 From: Matěj Cepl Date: Thu, 1 Sep 2011 13:13:54 +0200 Subject: Remove unused LogMessage call --- lib/libbugzilla.js | 4 ---- lib/main.js | 6 ------ 2 files changed, 10 deletions(-) (limited to 'lib') diff --git a/lib/libbugzilla.js b/lib/libbugzilla.js index 4858a96..d366ada 100644 --- a/lib/libbugzilla.js +++ b/lib/libbugzilla.js @@ -32,10 +32,6 @@ function Message(cmd, data) { this.data = data; } -function log(msg) { - postMessage(new Message("LogMessage", msg)); -} - function debug(str) { if (debugOption) { console.log(str); diff --git a/lib/main.js b/lib/main.js index 3ca736e..643ef36 100644 --- a/lib/main.js +++ b/lib/main.js @@ -39,12 +39,6 @@ function skipThisPage(doc) { var messageHandler = exports.messageHandler = function messageHandler( worker, msg) { switch (msg.cmd) { - case "LogMessage": - console.log(msg.data); - break; - case "ExecCmd": - libbz.executeCommand(msg.data); - break; case "AddLogRecord": logger.addLogRecord(msg.data); break; -- cgit