Commit ba6aa306 ba6aa3062690cbd8e716df4157ea58df3342d211 by Nicolas Perriault

typo

1 parent 4151e4d0
......@@ -712,7 +712,7 @@ Casper.prototype.evaluate = function evaluate(fn, context) {
}
} else {
// phantomjs-style signature
context = [].slice.call(arguments).slice(1);
context = [].slice.call(arguments, 1);
}
return utils.clone(this.page.evaluate.apply(this.page, [fn].concat(context)));
};
......