Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
pagedjs-cli
Manage
Activity
Members
Labels
Plan
Issues
62
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
pagedjs
pagedjs-cli
Commits
67a73038
Commit
67a73038
authored
2 years ago
by
Fred Chasen
Browse files
Options
Downloads
Plain Diff
Merge branch 'fix_defaults' into 'main'
Fix default printer values See merge request
!39
parents
02735f66
9d773eb7
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!39
Fix default printer values
Pipeline
#41720
passed with stages
in 1 minute and 7 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/printer.js
+5
-5
5 additions, 5 deletions
src/printer.js
with
5 additions
and
5 deletions
src/printer.js
+
5
−
5
View file @
67a73038
...
...
@@ -20,19 +20,19 @@ class Printer extends EventEmitter {
this
.
debug
=
typeof
options
.
debug
!==
"
undefined
"
?
options
.
debug
:
false
;
this
.
headless
=
options
.
headless
!==
false
;
this
.
allowLocal
=
options
.
allowLocal
;
this
.
allowRemote
=
options
.
allowRemote
;
this
.
allowLocal
=
options
.
allowLocal
||
false
;
this
.
allowRemote
=
typeof
options
.
allowRemote
!==
"
undefined
"
?
options
.
allowRemote
:
true
;
this
.
additionalScripts
=
options
.
additionalScripts
||
[];
this
.
allowedPaths
=
options
.
allowedPaths
||
[];
this
.
allowedDomains
=
options
.
allowedDomains
||
[];
this
.
ignoreHTTPSErrors
=
options
.
ignoreHTTPSErrors
;
this
.
ignoreHTTPSErrors
=
options
.
ignoreHTTPSErrors
||
false
;
this
.
browserWSEndpoint
=
options
.
browserEndpoint
;
this
.
browserArgs
=
options
.
browserArgs
;
this
.
overrideDefaultBackgroundColor
=
options
.
overrideDefaultBackgroundColor
;
this
.
overrideDefaultBackgroundColor
=
options
.
overrideDefaultBackgroundColor
||
false
;
this
.
timeout
=
options
.
timeout
||
0
;
this
.
closeAfter
=
typeof
options
.
closeAfter
!==
"
undefined
"
?
options
.
closeAfter
:
true
;
this
.
emulateMedia
=
options
.
emulateMedia
||
"
print
"
;
this
.
styles
=
options
.
styles
;
this
.
styles
=
options
.
styles
||
[]
;
this
.
pages
=
[];
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment