Skip to content

Commit

Permalink
fix(navigate): remove undefined requests usage
Browse files Browse the repository at this point in the history
  • Loading branch information
yoannmoinet committed Jul 4, 2016
1 parent f3f3375 commit 965f541
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/bots/actions/navigate.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@ module.exports = function (params, timeoutDuration, cwd) {
var cancelOpen = function () {
clearTimeout(failTimeout);

for (var i = 0, max = requests.length; i < max; i += 1) {
requests[i].abort();
}

// Tell casper to ignore errors due to page cancellation
this.options._ignoreErrors = true;
Expand Down

0 comments on commit 965f541

Please sign in to comment.