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
3f1226df
...
3f1226df77544ba8e17e94f8330bc92f62248f15
authored
2015-04-30 11:43:05 +0100
by
John McEleney
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Fixup for more recent phantomjs
1 parent
9f1b76d2
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
bin/bootstrap.js
bin/bootstrap.js
View file @
3f1226d
...
...
@@ -31,6 +31,11 @@
/*global process, console, phantom, slimer, require:true*/
/*jshint maxstatements:34, maxcomplexity:10*/
var
system
=
require
(
'system'
);
var
argsdeprecated
=
system
.
args
;
argsdeprecated
.
shift
();
phantom
.
args
=
argsdeprecated
;
// node check
if
(
'process'
in
this
&&
process
.
title
===
"node"
)
{
console
.
error
(
'CasperJS cannot be executed within a nodejs environment'
);
...
...
Please
register
or
sign in
to post a comment