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
33361c8c
...
33361c8c2330dc6bca2b1d5fbfcef65028443d12
authored
2012-07-19 15:52:52 +0200
by
oncletom
Committed by
Nicolas Perriault
2012-10-18 09:43:58 +0200
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
it's already undefined if not an object
1 parent
f6b77402
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
modules/casper.js
modules/casper.js
View file @
33361c8
...
...
@@ -1120,7 +1120,7 @@ Casper.prototype.runStep = function runStep(step) {
},
this
.
options
.
stepTimeout
,
this
,
new
Date
().
getTime
(),
this
.
test
.
currentSuiteNum
+
"-"
+
this
.
step
);
}
this
.
emit
(
'step.start'
,
step
);
stepResult
=
step
.
call
(
this
,
this
.
currentResponse
||
undefined
);
stepResult
=
step
.
call
(
this
,
this
.
currentResponse
);
if
(
utils
.
isFunction
(
this
.
options
.
onStepComplete
))
{
this
.
options
.
onStepComplete
.
call
(
this
,
this
,
stepResult
);
}
...
...
Please
register
or
sign in
to post a comment