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
69b35953
...
69b35953522cdc256326792f038b3ac3b0aefbeb
authored
2013-10-13 02:30:32 +0200
by
mickaelandrieu
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
REFS #6666 - Ensure local options configuration override global configuration of Casper instance
1 parent
1b14a5f9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletions
modules/casper.js
modules/casper.js
View file @
69b3595
...
...
@@ -129,7 +129,9 @@ var Casper = function Casper(options) {
// factories
this
.
cli
=
phantom
.
casperArgs
;
this
.
options
.
logLevel
=
this
.
cli
.
get
(
'log-level'
,
this
.
options
.
logLevel
);
this
.
options
.
verbose
=
this
.
cli
.
has
(
'direct'
)
||
this
.
cli
.
has
(
'verbose'
);
if
(
this
.
options
.
verbose
===
false
)
{
this
.
options
.
verbose
=
this
.
cli
.
has
(
'direct'
)
||
this
.
cli
.
has
(
'verbose'
);
}
this
.
colorizer
=
this
.
getColorizer
();
this
.
mouse
=
mouse
.
create
(
this
);
this
.
popups
=
pagestack
.
create
();
...
...
Please
register
or
sign in
to post a comment