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
e664bdd4
...
e664bdd417cbf3cfb93531d2fc5d174c72323768
authored
2013-06-02 20:46:21 +0200
by
Nicolas Perriault
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fixed jshint
1 parent
ff50af66
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
bin/bootstrap.js
bin/bootstrap.js
View file @
e664bdd
...
...
@@ -32,13 +32,13 @@
/*jshint maxstatements:30, maxcomplexity:10*/
// node check
if
(
proces
s
&&
process
.
title
===
"node"
)
{
if
(
'process'
in
thi
s
&&
process
.
title
===
"node"
)
{
console
.
error
(
'CasperJS cannot be executed within a nodejs environment'
);
process
.
exit
(
1
);
}
// phantom check
if
(
!
phantom
)
{
if
(
!
(
'phantom'
in
this
)
)
{
console
.
error
(
'CasperJS needs to be executed in a PhantomJS environment http://phantomjs.org/'
);
}
...
...
Please
register
or
sign in
to post a comment