diff options
Diffstat (limited to 'lib/logger.js')
-rw-r--r-- | lib/logger.js | 3 |
1 files changed, 2 insertions, 1 deletions
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 = []; |