Permalink
Browse files

1 global per line

print one global per line to help step through them
  • Loading branch information...
1 parent 254daa1 commit 31f110f4ec67ad4e71ca4d9f715dbe79cebd9fd1 @tomgasson committed Jul 16, 2012
Showing with 3 additions and 1 deletion.
  1. +3 −1 reporter.js
View
@@ -65,7 +65,9 @@ module.exports = {
if (globals) {
globals.forEach(function (global) {
- console.log(numberWang(global.line.toString().length + 1), global.line + ',1: \'' + global.name + '\' is an implied global variable.');
+ for (var line in global.line){
+ console.log(numberWang(global.line[line].toString().length + 1), global.line[line] + ',1: \'' + global.name + '\' is an implied global variable.');
+ }
});
}

0 comments on commit 31f110f

Please sign in to comment.