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
218f7652
...
218f76529eed560fcf32738a5ee33832488079e9
authored
2011-12-30 17:12:01 +0100
by
Nicolas Perriault
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
added ability to use 'this' instead of self in Casper.each() callback
1 parent
f7ae9a5c
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 @
218f765
...
...
@@ -320,7 +320,7 @@ Casper.prototype = {
}
(
function
(
self
)
{
array
.
forEach
(
function
(
item
,
i
)
{
fn
(
self
,
item
,
i
);
fn
.
call
(
self
,
self
,
item
,
i
);
});
})(
this
);
return
this
;
...
...
Please
register
or
sign in
to post a comment