瀏覽代碼

PDF.js version 1.4.87 - See mozilla/pdf.js@c53581f4e54026487393bb978b0dbb260ed8e13c

Pdf Bot 9 年之前
父節點
當前提交
62b22e1ea5
共有 5 個文件被更改,包括 12 次插入20 次删除
  1. 1 1
      bower.json
  2. 4 8
      build/pdf.combined.js
  3. 2 2
      build/pdf.js
  4. 4 8
      build/pdf.worker.js
  5. 1 1
      package.json

+ 1 - 1
bower.json

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

+ 4 - 8
build/pdf.combined.js

@@ -28,8 +28,8 @@ factory((root.pdfjsDistBuildPdfCombined = {}));
   // Use strict in our context only - users might not want it
   'use strict';
 
-var pdfjsVersion = '1.4.85';
-var pdfjsBuild = 'ebe6fb2';
+var pdfjsVersion = '1.4.87';
+var pdfjsBuild = 'c53581f';
 
   var pdfjsFilePath =
     typeof document !== 'undefined' && document.currentScript ?
@@ -48485,12 +48485,8 @@ var TextAnnotation = (function TextAnnotationClosure() {
     }
 
     this.data.hasPopup = dict.has('Popup');
-    if (!this.data.hasPopup) {
-      // There is no associated Popup annotation, so the Text annotation
-      // must create its own popup.
-      this.data.title = stringToPDFString(dict.get('T') || '');
-      this.data.contents = stringToPDFString(dict.get('Contents') || '');
-    }
+    this.data.title = stringToPDFString(dict.get('T') || '');
+    this.data.contents = stringToPDFString(dict.get('Contents') || '');
   }
 
   Util.inherit(TextAnnotation, Annotation, {});

+ 2 - 2
build/pdf.js

@@ -28,8 +28,8 @@ factory((root.pdfjsDistBuildPdf = {}));
   // Use strict in our context only - users might not want it
   'use strict';
 
-var pdfjsVersion = '1.4.85';
-var pdfjsBuild = 'ebe6fb2';
+var pdfjsVersion = '1.4.87';
+var pdfjsBuild = 'c53581f';
 
   var pdfjsFilePath =
     typeof document !== 'undefined' && document.currentScript ?

+ 4 - 8
build/pdf.worker.js

@@ -28,8 +28,8 @@ factory((root.pdfjsDistBuildPdfWorker = {}));
   // Use strict in our context only - users might not want it
   'use strict';
 
-var pdfjsVersion = '1.4.85';
-var pdfjsBuild = 'ebe6fb2';
+var pdfjsVersion = '1.4.87';
+var pdfjsBuild = 'c53581f';
 
   var pdfjsFilePath =
     typeof document !== 'undefined' && document.currentScript ?
@@ -40620,12 +40620,8 @@ var TextAnnotation = (function TextAnnotationClosure() {
     }
 
     this.data.hasPopup = dict.has('Popup');
-    if (!this.data.hasPopup) {
-      // There is no associated Popup annotation, so the Text annotation
-      // must create its own popup.
-      this.data.title = stringToPDFString(dict.get('T') || '');
-      this.data.contents = stringToPDFString(dict.get('Contents') || '');
-    }
+    this.data.title = stringToPDFString(dict.get('T') || '');
+    this.data.contents = stringToPDFString(dict.get('Contents') || '');
   }
 
   Util.inherit(TextAnnotation, Annotation, {});

+ 1 - 1
package.json

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