Skip to content
This repository has been archived by the owner on May 10, 2019. It is now read-only.

Commit

Permalink
fixed variable redefinition
Browse files Browse the repository at this point in the history
  • Loading branch information
jedp committed Jul 5, 2012
1 parent d591405 commit 0264fc7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/phantomrunner.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}
Expand Down

0 comments on commit 0264fc7

Please sign in to comment.