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
6efbbbde
...
6efbbbdee208b357039b69bbafc7134d1146aa66
authored
2013-10-14 13:16:06 +0200
by
Mickaël Andrieu
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
REFS #666 - Added more concise syntax on verbose option availability test
1 parent
057d8390
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
modules/casper.js
modules/casper.js
View file @
6efbbbd
...
...
@@ -129,7 +129,7 @@ var Casper = function Casper(options) {
// factories
this
.
cli
=
phantom
.
casperArgs
;
this
.
options
.
logLevel
=
this
.
cli
.
get
(
'log-level'
,
this
.
options
.
logLevel
);
if
(
this
.
options
.
verbose
===
fal
se
)
{
if
(
!
this
.
options
.
verbo
se
)
{
this
.
options
.
verbose
=
this
.
cli
.
has
(
'direct'
)
||
this
.
cli
.
has
(
'verbose'
);
}
this
.
colorizer
=
this
.
getColorizer
();
...
...
Please
register
or
sign in
to post a comment