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
134b55e1
...
134b55e1d4a1495a78fec8b909dd6ed7aeaccc57
authored
2013-03-20 14:42:08 +0530
by
V Sreekanth
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Adding check for anonymous functions.
As suggested by @n1k0
1 parent
feec3f09
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 @
134b55e
...
...
@@ -1383,7 +1383,7 @@ Casper.prototype.runStep = function runStep(step) {
/*jshint maxstatements:20*/
this
.
checkStarted
();
var
skipLog
=
utils
.
isObject
(
step
.
options
)
&&
step
.
options
.
skipLog
===
true
,
stepInfo
=
f
(
"Step %s %d/%d"
,
step
.
name
,
this
.
step
,
this
.
steps
.
length
),
stepInfo
=
f
(
"Step %s %d/%d"
,
step
.
name
||
"anonymous"
,
this
.
step
,
this
.
steps
.
length
),
stepResult
;
function
getCurrentSuiteId
(
casper
)
{
try
{
...
...
Please
register
or
sign in
to post a comment