Skip to content

Commit

Permalink
Removed comment, let replaced with const.
Browse files Browse the repository at this point in the history
  • Loading branch information
Vlastimil Máca committed Apr 12, 2019
1 parent 64e76d8 commit 70f40a8
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/core/annotation.js
Original file line number Diff line number Diff line change
Expand Up @@ -580,14 +580,10 @@ class AnnotationBorderStyle {
}
}

/**
* Class for Markup Annotations
* defined in spec: PDF 32000-1:2008 (page 391, chapter 12.5.6.2)
*/
class MarkupAnnotation extends Annotation {
constructor(parameters) {
super(parameters);
let dict = parameters.dict;
const dict = parameters.dict;

if (!dict.has('C')) {
// Fall back to the default background color.
Expand Down

0 comments on commit 70f40a8

Please sign in to comment.