Skip to content

Commit

Permalink
Merge pull request #77 from nzzdev/release-2.7.0
Browse files Browse the repository at this point in the history
Release 2.7.0
  • Loading branch information
fuenkchen committed Nov 3, 2017
2 parents 4c93ec0 + 1ca135d commit dc7fded
Show file tree
Hide file tree
Showing 6 changed files with 301 additions and 146 deletions.
2 changes: 1 addition & 1 deletion docs/plugins.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,4 @@ init({
```
You need to have a _config/targets.js_ in your Q server implementation that configures the targets to be used with the screenshot api as `type: 'web'`.
This gives you an endpoint `/screenshot/{id}.png?target=your_target&width=600&dpr=2&background=white&padding=20` where `dpr` (default: `1`), `background` (default: no background) and `padding` (default: `0`) are optional.
This gives you an endpoint `/screenshot/{id}.png?target=your_target&width=600&dpr=2&background=white&padding=20` where `dpr` (default: `1`), `background` (default: background could be set by any context css loaded for the target. set to none to get transparent in any case) and `padding` (default: `0`) are optional.
4 changes: 3 additions & 1 deletion helper/meta-properties.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,12 @@ const metaProperties = [
'department',
'annotations',
'editedBy',
'updatedBy',
'updatedDate',
'active',
'activateDate',
'deactivateDate'
'deactivateDate',
'publication'
];

const deleteMetaProperties = function(item) {
Expand Down
Loading

0 comments on commit dc7fded

Please sign in to comment.