Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

1 global per line

print one global per line to help step through them
  • Loading branch information...
commit 31f110f4ec67ad4e71ca4d9f715dbe79cebd9fd1 1 parent 254daa1
@tomgasson tomgasson authored
Showing with 3 additions and 1 deletion.
  1. +3 −1 reporter.js
View
4 reporter.js
@@ -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.');
+ }
});
}
Please sign in to comment.
Something went wrong with that request. Please try again.