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
3b285ca1
...
3b285ca128ba0984eb3a1a7002d7c91da2b7ea24
authored
2011-12-18 12:11:42 +0100
by
Nicolas Perriault
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fixed Casper.each() wasn't logging ertror properly
1 parent
6bab3e19
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
lib/casper.js
lib/casper.js
View file @
3b285ca
...
...
@@ -301,7 +301,7 @@
*/
each
:
function
(
array
,
fn
)
{
if
(
!
isType
(
array
,
"array"
))
{
self
.
log
(
"each() only works with arrays"
,
"error"
);
this
.
log
(
"each() only works with arrays"
,
"error"
);
return
this
;
}
(
function
(
self
)
{
...
...
Please
register
or
sign in
to post a comment