Put the stats one line

This commit is contained in:
Ionică Bizău 2015-02-01 15:36:26 +02:00
parent 1e343a7e6e
commit 6de0cdb11f

View File

@ -244,10 +244,10 @@ GitStats.ansiCalendar = function (data, callback) {
}).join("\n"); }).join("\n");
strYear += strYear +=
new Array(4 + 2 * Math.ceil(365 / 7)).join("-") new Array(5 + 2 * Math.ceil(365 / 7)).join("-")
+ "\n" + "Total commits: " + cal.total + "\n" + "Contributions in the last year: " + cal.total
+ "\n" + "Current Streak: " + cal.cStreak + " | " + "Longest Streak: " + cal.lStreak + " days"
+ "\n" + "Longest Streak: " + cal.lStreak + " | " + "Current Streak: " + cal.cStreak + " days"
; ;
strYear = new CliBox({ strYear = new CliBox({