mirror of
https://github.com/IonicaBizau/git-stats.git
synced 2025-01-03 10:22:11 +01:00
JSHint errors.
This commit is contained in:
parent
9fbaeb520f
commit
f3bf670b5e
1 changed files with 2 additions and 2 deletions
|
@ -153,7 +153,7 @@ GitStats.iterateDays = function (data, callback) {
|
||||||
while (start.format(DATE_FORMAT) !== endStr) {
|
while (start.format(DATE_FORMAT) !== endStr) {
|
||||||
cDay = start.format(data.format);
|
cDay = start.format(data.format);
|
||||||
callback(cDay, start);
|
callback(cDay, start);
|
||||||
start.add(1, "days")
|
start.add(1, "days");
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -314,7 +314,7 @@ GitStats.ansiCalendar = function (data, callback) {
|
||||||
return DAYS[i] + c;
|
return DAYS[i] + c;
|
||||||
}).join("\n");
|
}).join("\n");
|
||||||
|
|
||||||
monthHack = "MMM"
|
monthHack = "MMM";
|
||||||
strYear = monthHack + months.join(" ") + "\n" + strYear;
|
strYear = monthHack + months.join(" ") + "\n" + strYear;
|
||||||
strYear +=
|
strYear +=
|
||||||
new Array(5 + 2 * Math.ceil(365 / 7)).join("-")
|
new Array(5 + 2 * Math.ceil(365 / 7)).join("-")
|
||||||
|
|
Loading…
Reference in a new issue