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
7d19c5f9
...
7d19c5f9d0dea7daf028827c1b6d63d2665515ee
authored
2012-11-23 14:25:14 +0100
by
Nicolas Perriault
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
no more need of casper to be started in order to die()
1 parent
c8741429
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
1 deletions
modules/casper.js
modules/casper.js
View file @
7d19c5f
...
...
@@ -485,7 +485,6 @@ Casper.prototype.debugPage = function debugPage() {
*/
Casper
.
prototype
.
die
=
function
die
(
message
,
status
)
{
"use strict"
;
this
.
checkStarted
();
this
.
result
.
status
=
"error"
;
this
.
result
.
time
=
new
Date
().
getTime
()
-
this
.
startTime
;
if
(
!
utils
.
isString
(
message
)
||
!
message
.
length
)
{
...
...
Please
register
or
sign in
to post a comment