Permalink
Browse files

Rename variable to not use reserved word, make jshint happy

  • Loading branch information...
1 parent 6b627dc commit edbf75b83e7c57ab5c815ab7b4908e9621f28489 @gotwarlost committed Feb 23, 2013
Showing with 3 additions and 3 deletions.
  1. +3 −3 lib/report/text.js
View
@@ -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;
}

0 comments on commit edbf75b

Please sign in to comment.