Skip to content

Commit

Permalink
New: Enable PDF Signatures in PDF.js (#853)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeremy Press authored Nov 12, 2018
1 parent fb706e7 commit 15fc355
Show file tree
Hide file tree
Showing 3 changed files with 106 additions and 110 deletions.
2 changes: 1 addition & 1 deletion build/minify_pdfjs.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
DOC_STATIC_ASSETS_VERSION=$(./build/current_version.sh)
DOC_STATIC_ASSETS_VERSION=$1 || $(./build/current_version.sh)

# Minify using Google Closure Compiler, options:
# Output to ECMASCRIPT5 / ES5 (Box supports Chrome, IE11, Firefox, Safari, and newer versions of iOS, Android)
Expand Down
5 changes: 1 addition & 4 deletions src/third-party/doc/1.17.0/pdf.worker.js
Original file line number Diff line number Diff line change
Expand Up @@ -44042,9 +44042,6 @@ var WidgetAnnotation = function (_Annotation) {
data.fieldFlags = 0;
}
data.readOnly = _this2.hasFieldFlag(_util.AnnotationFieldFlag.READONLY);
if (data.fieldType === 'Sig') {
_this2.setFlags(_util.AnnotationFlag.HIDDEN);
}
return _this2;
}

Expand Down Expand Up @@ -44498,4 +44495,4 @@ exports.AnnotationFactory = AnnotationFactory;
/***/ })
/******/ ]);
});
//# sourceMappingURL=pdf.worker.js.map
//# sourceMappingURL=pdf.worker.js.map
Loading

0 comments on commit 15fc355

Please sign in to comment.