2
0
Эх сурвалжийг харах

PDF.js version 1.4.85 - See mozilla/pdf.js@ebe6fb2560659948edefdfa62d38621dfbccd894

Pdf Bot 9 жил өмнө
parent
commit
e9062ac1e2

+ 1 - 1
bower.json

@@ -1,6 +1,6 @@
 {
 {
   "name": "pdfjs-dist",
   "name": "pdfjs-dist",
-  "version": "1.4.83",
+  "version": "1.4.85",
   "main": [
   "main": [
     "build/pdf.js",
     "build/pdf.js",
     "build/pdf.worker.js"
     "build/pdf.worker.js"

+ 14 - 6
build/pdf.combined.js

@@ -28,8 +28,8 @@ factory((root.pdfjsDistBuildPdfCombined = {}));
   // Use strict in our context only - users might not want it
   // Use strict in our context only - users might not want it
   'use strict';
   'use strict';
 
 
-var pdfjsVersion = '1.4.83';
-var pdfjsBuild = '0629fd0';
+var pdfjsVersion = '1.4.85';
+var pdfjsBuild = 'ebe6fb2';
 
 
   var pdfjsFilePath =
   var pdfjsFilePath =
     typeof document !== 'undefined' && document.currentScript ?
     typeof document !== 'undefined' && document.currentScript ?
@@ -18997,7 +18997,8 @@ var PopupElement = (function PopupElementClosure() {
 var HighlightAnnotationElement = (
 var HighlightAnnotationElement = (
     function HighlightAnnotationElementClosure() {
     function HighlightAnnotationElementClosure() {
   function HighlightAnnotationElement(parameters) {
   function HighlightAnnotationElement(parameters) {
-    AnnotationElement.call(this, parameters, true);
+    var isRenderable = parameters.data.hasPopup;
+    AnnotationElement.call(this, parameters, isRenderable);
   }
   }
 
 
   Util.inherit(HighlightAnnotationElement, AnnotationElement, {
   Util.inherit(HighlightAnnotationElement, AnnotationElement, {
@@ -19024,7 +19025,8 @@ var HighlightAnnotationElement = (
 var UnderlineAnnotationElement = (
 var UnderlineAnnotationElement = (
     function UnderlineAnnotationElementClosure() {
     function UnderlineAnnotationElementClosure() {
   function UnderlineAnnotationElement(parameters) {
   function UnderlineAnnotationElement(parameters) {
-    AnnotationElement.call(this, parameters, true);
+    var isRenderable = parameters.data.hasPopup;
+    AnnotationElement.call(this, parameters, isRenderable);
   }
   }
 
 
   Util.inherit(UnderlineAnnotationElement, AnnotationElement, {
   Util.inherit(UnderlineAnnotationElement, AnnotationElement, {
@@ -19050,7 +19052,8 @@ var UnderlineAnnotationElement = (
  */
  */
 var SquigglyAnnotationElement = (function SquigglyAnnotationElementClosure() {
 var SquigglyAnnotationElement = (function SquigglyAnnotationElementClosure() {
   function SquigglyAnnotationElement(parameters) {
   function SquigglyAnnotationElement(parameters) {
-    AnnotationElement.call(this, parameters, true);
+    var isRenderable = parameters.data.hasPopup;
+    AnnotationElement.call(this, parameters, isRenderable);
   }
   }
 
 
   Util.inherit(SquigglyAnnotationElement, AnnotationElement, {
   Util.inherit(SquigglyAnnotationElement, AnnotationElement, {
@@ -19077,7 +19080,8 @@ var SquigglyAnnotationElement = (function SquigglyAnnotationElementClosure() {
 var StrikeOutAnnotationElement = (
 var StrikeOutAnnotationElement = (
     function StrikeOutAnnotationElementClosure() {
     function StrikeOutAnnotationElementClosure() {
   function StrikeOutAnnotationElement(parameters) {
   function StrikeOutAnnotationElement(parameters) {
-    AnnotationElement.call(this, parameters, true);
+    var isRenderable = parameters.data.hasPopup;
+    AnnotationElement.call(this, parameters, isRenderable);
   }
   }
 
 
   Util.inherit(StrikeOutAnnotationElement, AnnotationElement, {
   Util.inherit(StrikeOutAnnotationElement, AnnotationElement, {
@@ -48605,6 +48609,7 @@ var HighlightAnnotation = (function HighlightAnnotationClosure() {
     Annotation.call(this, parameters);
     Annotation.call(this, parameters);
 
 
     this.data.annotationType = AnnotationType.HIGHLIGHT;
     this.data.annotationType = AnnotationType.HIGHLIGHT;
+    this.data.hasPopup = parameters.dict.has('Popup');
 
 
     // PDF viewers completely ignore any border styles.
     // PDF viewers completely ignore any border styles.
     this.data.borderStyle.setWidth(0);
     this.data.borderStyle.setWidth(0);
@@ -48620,6 +48625,7 @@ var UnderlineAnnotation = (function UnderlineAnnotationClosure() {
     Annotation.call(this, parameters);
     Annotation.call(this, parameters);
 
 
     this.data.annotationType = AnnotationType.UNDERLINE;
     this.data.annotationType = AnnotationType.UNDERLINE;
+    this.data.hasPopup = parameters.dict.has('Popup');
 
 
     // PDF viewers completely ignore any border styles.
     // PDF viewers completely ignore any border styles.
     this.data.borderStyle.setWidth(0);
     this.data.borderStyle.setWidth(0);
@@ -48635,6 +48641,7 @@ var SquigglyAnnotation = (function SquigglyAnnotationClosure() {
     Annotation.call(this, parameters);
     Annotation.call(this, parameters);
 
 
     this.data.annotationType = AnnotationType.SQUIGGLY;
     this.data.annotationType = AnnotationType.SQUIGGLY;
+    this.data.hasPopup = parameters.dict.has('Popup');
 
 
     // PDF viewers completely ignore any border styles.
     // PDF viewers completely ignore any border styles.
     this.data.borderStyle.setWidth(0);
     this.data.borderStyle.setWidth(0);
@@ -48650,6 +48657,7 @@ var StrikeOutAnnotation = (function StrikeOutAnnotationClosure() {
     Annotation.call(this, parameters);
     Annotation.call(this, parameters);
 
 
     this.data.annotationType = AnnotationType.STRIKEOUT;
     this.data.annotationType = AnnotationType.STRIKEOUT;
+    this.data.hasPopup = parameters.dict.has('Popup');
 
 
     // PDF viewers completely ignore any border styles.
     // PDF viewers completely ignore any border styles.
     this.data.borderStyle.setWidth(0);
     this.data.borderStyle.setWidth(0);

+ 10 - 6
build/pdf.js

@@ -28,8 +28,8 @@ factory((root.pdfjsDistBuildPdf = {}));
   // Use strict in our context only - users might not want it
   // Use strict in our context only - users might not want it
   'use strict';
   'use strict';
 
 
-var pdfjsVersion = '1.4.83';
-var pdfjsBuild = '0629fd0';
+var pdfjsVersion = '1.4.85';
+var pdfjsBuild = 'ebe6fb2';
 
 
   var pdfjsFilePath =
   var pdfjsFilePath =
     typeof document !== 'undefined' && document.currentScript ?
     typeof document !== 'undefined' && document.currentScript ?
@@ -3103,7 +3103,8 @@ var PopupElement = (function PopupElementClosure() {
 var HighlightAnnotationElement = (
 var HighlightAnnotationElement = (
     function HighlightAnnotationElementClosure() {
     function HighlightAnnotationElementClosure() {
   function HighlightAnnotationElement(parameters) {
   function HighlightAnnotationElement(parameters) {
-    AnnotationElement.call(this, parameters, true);
+    var isRenderable = parameters.data.hasPopup;
+    AnnotationElement.call(this, parameters, isRenderable);
   }
   }
 
 
   Util.inherit(HighlightAnnotationElement, AnnotationElement, {
   Util.inherit(HighlightAnnotationElement, AnnotationElement, {
@@ -3130,7 +3131,8 @@ var HighlightAnnotationElement = (
 var UnderlineAnnotationElement = (
 var UnderlineAnnotationElement = (
     function UnderlineAnnotationElementClosure() {
     function UnderlineAnnotationElementClosure() {
   function UnderlineAnnotationElement(parameters) {
   function UnderlineAnnotationElement(parameters) {
-    AnnotationElement.call(this, parameters, true);
+    var isRenderable = parameters.data.hasPopup;
+    AnnotationElement.call(this, parameters, isRenderable);
   }
   }
 
 
   Util.inherit(UnderlineAnnotationElement, AnnotationElement, {
   Util.inherit(UnderlineAnnotationElement, AnnotationElement, {
@@ -3156,7 +3158,8 @@ var UnderlineAnnotationElement = (
  */
  */
 var SquigglyAnnotationElement = (function SquigglyAnnotationElementClosure() {
 var SquigglyAnnotationElement = (function SquigglyAnnotationElementClosure() {
   function SquigglyAnnotationElement(parameters) {
   function SquigglyAnnotationElement(parameters) {
-    AnnotationElement.call(this, parameters, true);
+    var isRenderable = parameters.data.hasPopup;
+    AnnotationElement.call(this, parameters, isRenderable);
   }
   }
 
 
   Util.inherit(SquigglyAnnotationElement, AnnotationElement, {
   Util.inherit(SquigglyAnnotationElement, AnnotationElement, {
@@ -3183,7 +3186,8 @@ var SquigglyAnnotationElement = (function SquigglyAnnotationElementClosure() {
 var StrikeOutAnnotationElement = (
 var StrikeOutAnnotationElement = (
     function StrikeOutAnnotationElementClosure() {
     function StrikeOutAnnotationElementClosure() {
   function StrikeOutAnnotationElement(parameters) {
   function StrikeOutAnnotationElement(parameters) {
-    AnnotationElement.call(this, parameters, true);
+    var isRenderable = parameters.data.hasPopup;
+    AnnotationElement.call(this, parameters, isRenderable);
   }
   }
 
 
   Util.inherit(StrikeOutAnnotationElement, AnnotationElement, {
   Util.inherit(StrikeOutAnnotationElement, AnnotationElement, {

+ 6 - 2
build/pdf.worker.js

@@ -28,8 +28,8 @@ factory((root.pdfjsDistBuildPdfWorker = {}));
   // Use strict in our context only - users might not want it
   // Use strict in our context only - users might not want it
   'use strict';
   'use strict';
 
 
-var pdfjsVersion = '1.4.83';
-var pdfjsBuild = '0629fd0';
+var pdfjsVersion = '1.4.85';
+var pdfjsBuild = 'ebe6fb2';
 
 
   var pdfjsFilePath =
   var pdfjsFilePath =
     typeof document !== 'undefined' && document.currentScript ?
     typeof document !== 'undefined' && document.currentScript ?
@@ -40744,6 +40744,7 @@ var HighlightAnnotation = (function HighlightAnnotationClosure() {
     Annotation.call(this, parameters);
     Annotation.call(this, parameters);
 
 
     this.data.annotationType = AnnotationType.HIGHLIGHT;
     this.data.annotationType = AnnotationType.HIGHLIGHT;
+    this.data.hasPopup = parameters.dict.has('Popup');
 
 
     // PDF viewers completely ignore any border styles.
     // PDF viewers completely ignore any border styles.
     this.data.borderStyle.setWidth(0);
     this.data.borderStyle.setWidth(0);
@@ -40759,6 +40760,7 @@ var UnderlineAnnotation = (function UnderlineAnnotationClosure() {
     Annotation.call(this, parameters);
     Annotation.call(this, parameters);
 
 
     this.data.annotationType = AnnotationType.UNDERLINE;
     this.data.annotationType = AnnotationType.UNDERLINE;
+    this.data.hasPopup = parameters.dict.has('Popup');
 
 
     // PDF viewers completely ignore any border styles.
     // PDF viewers completely ignore any border styles.
     this.data.borderStyle.setWidth(0);
     this.data.borderStyle.setWidth(0);
@@ -40774,6 +40776,7 @@ var SquigglyAnnotation = (function SquigglyAnnotationClosure() {
     Annotation.call(this, parameters);
     Annotation.call(this, parameters);
 
 
     this.data.annotationType = AnnotationType.SQUIGGLY;
     this.data.annotationType = AnnotationType.SQUIGGLY;
+    this.data.hasPopup = parameters.dict.has('Popup');
 
 
     // PDF viewers completely ignore any border styles.
     // PDF viewers completely ignore any border styles.
     this.data.borderStyle.setWidth(0);
     this.data.borderStyle.setWidth(0);
@@ -40789,6 +40792,7 @@ var StrikeOutAnnotation = (function StrikeOutAnnotationClosure() {
     Annotation.call(this, parameters);
     Annotation.call(this, parameters);
 
 
     this.data.annotationType = AnnotationType.STRIKEOUT;
     this.data.annotationType = AnnotationType.STRIKEOUT;
+    this.data.hasPopup = parameters.dict.has('Popup');
 
 
     // PDF viewers completely ignore any border styles.
     // PDF viewers completely ignore any border styles.
     this.data.borderStyle.setWidth(0);
     this.data.borderStyle.setWidth(0);

+ 1 - 1
package.json

@@ -1,6 +1,6 @@
 {
 {
   "name": "pdfjs-dist",
   "name": "pdfjs-dist",
-  "version": "1.4.83",
+  "version": "1.4.85",
   "main": "build/pdf.js",
   "main": "build/pdf.js",
   "description": "Generic build of Mozilla's PDF.js library.",
   "description": "Generic build of Mozilla's PDF.js library.",
   "keywords": [
   "keywords": [