Permalink
Browse files

fixed variable redefinition

  • Loading branch information...
1 parent d591405 commit 0264fc78e96fa05f6676040ad1ddf64ef4657c5d @jedp jedp committed Jul 5, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 scripts/phantomrunner.js
View
@@ -78,8 +78,8 @@ page.open(phantom.args[0], function(status){
var failingItems = node.querySelectorAll(".fail");
var failingItemsCount = failingItems.length;
- for(var i = 0; i < failingItemsCount; i++) {
- var failingItem = failingItems.item(i);
+ for(var j = 0; j < failingItemsCount; j++) {
+ var failingItem = failingItems.item(j);
console.log(" - " + failingItem.innerText);
}
}

0 comments on commit 0264fc7

Please sign in to comment.