typo
Showing
1 changed file
with
1 additions
and
1 deletions
... | @@ -712,7 +712,7 @@ Casper.prototype.evaluate = function evaluate(fn, context) { | ... | @@ -712,7 +712,7 @@ Casper.prototype.evaluate = function evaluate(fn, context) { |
712 | } | 712 | } |
713 | } else { | 713 | } else { |
714 | // phantomjs-style signature | 714 | // phantomjs-style signature |
715 | context = [].slice.call(arguments).slice(1); | 715 | context = [].slice.call(arguments, 1); |
716 | } | 716 | } |
717 | return utils.clone(this.page.evaluate.apply(this.page, [fn].concat(context))); | 717 | return utils.clone(this.page.evaluate.apply(this.page, [fn].concat(context))); |
718 | }; | 718 | }; | ... | ... |
-
Please register or sign in to post a comment