From 68de408908a2cec9b0df1f67fe91939747e774e7 Mon Sep 17 00:00:00 2001 From: Matěj Cepl Date: Thu, 28 Apr 2011 01:00:35 +0200 Subject: Two small typos * it is config.XorgLogAnalysis not lowercase one * timeSheetRecordsPrinter needs to be declared, otherwise it is not available inside of the logger.js module itself. --- data/lib/rhbzpage.js | 2 +- lib/logger.js | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/data/lib/rhbzpage.js b/data/lib/rhbzpage.js index 69317ff..5daeea7 100644 --- a/data/lib/rhbzpage.js +++ b/data/lib/rhbzpage.js @@ -201,7 +201,7 @@ function sendBugUpstream() { * @return none */ function addCheckXorgLogLink(attList) { - if (config.xorglogAnalysis) { + if (config.XorgLogAnalysis) { attList.forEach(function (row) { var elemS = row[4].getElementsByTagName("td"); var elem = elemS[elemS.length - 1]; diff --git a/lib/logger.js b/lib/logger.js index 0b18c1b..dce3bad 100644 --- a/lib/logger.js +++ b/lib/logger.js @@ -78,7 +78,8 @@ exports.generateTimeSheet = function generateTimeSheet() { libbz.openURLInNewTab("data:text/html;charset=utf-8," + docHTML); }; -exports.timeSheetRecordsPrinter = function timeSheetRecordsPrinter(records, date) { +var timeSheetRecordsPrinter = exports.timeSheetRecordsPrinter = + function timeSheetRecordsPrinter(records, date) { var commentBugRE = new RegExp("[bB]ug\\s+([0-9]+)","g"); // sort the records into temporary array var tmpArr = []; -- cgit