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
33bd0b17
...
33bd0b177f213d23d195a28037ffc028299fa600
authored
2012-02-09 08:05:47 +0100
by
Nicolas Perriault
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fixes #49, #50 - phantomjs native args were not passed to phantom
1 parent
087f726f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
bin/casperjs
docs
bin/casperjs
View file @
33bd0b1
...
...
@@ -13,8 +13,8 @@ def resolve(path):
PHANTOMJS_EXEC
=
os
.
environ
.
get
(
'PHANTOMJS_EXECUTABLE'
,
'phantomjs'
)
.
split
(
' '
)
CASPER_PATH
=
os
.
path
.
abspath
(
os
.
path
.
join
(
os
.
path
.
dirname
(
resolve
(
__file__
)),
'..'
))
CASPER_ARGS
=
PHANTOMJS_EXEC
CASPER_ARGS
.
extend
([
os
.
path
.
join
(
CASPER_PATH
,
'bin'
,
'bootstrap.js'
),
'--casper-path=
%
s'
%
CASPER_PATH
,
'--cli'
])
CASPER_ARGS
.
extend
(
sys
.
argv
[
1
:])
CASPER_ARGS
.
extend
([
os
.
path
.
join
(
CASPER_PATH
,
'bin'
,
'bootstrap.js'
),
'--casper-path=
%
s'
%
CASPER_PATH
,
'--cli'
])
try
:
status
=
subprocess
.
call
(
CASPER_ARGS
)
...
...
docs
@
2b39c2fe
Subproject commit
67e24a5dc0596efb6e4e91b56d5e77fa6b2dd941
Subproject commit
2b39c2fed23b8179c734c42248f0706ddb3fba54
...
...
Please
register
or
sign in
to post a comment