Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Rename variable to not use reserved word, make jshint happy

  • Loading branch information...
commit edbf75b83e7c57ab5c815ab7b4908e9621f28489 1 parent 6b627dc
@gotwarlost authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 lib/report/text.js
View
6 lib/report/text.js
@@ -42,12 +42,12 @@ function TextReport(opts) {
TextReport.TYPE = 'text';
-function padding(num, char) {
+function padding(num, ch) {
var str = '',
i;
- char = char || ' ';
+ ch = ch || ' ';
for (i = 0; i < num; i += 1) {
- str += char;
+ str += ch;
}
return str;
}
Please sign in to comment.
Something went wrong with that request. Please try again.