Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
John McEleney
/
casperjs
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit
ba6aa306
...
ba6aa3062690cbd8e716df4157ea58df3342d211
authored
2014-04-22 15:10:18 +0200
by
Nicolas Perriault
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
typo
1 parent
4151e4d0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
modules/casper.js
modules/casper.js
View file @
ba6aa30
...
...
@@ -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
)));
};
...
...
Please
register
or
sign in
to post a comment