Browse Source

PDF.js version 1.3.24 - See mozilla/pdf.js@dcd28126bf97e69c508ef1f7177dd6057ed1c15d

Pdf Bot 9 năm trước cách đây
mục cha
commit
9d9b13363e
5 tập tin đã thay đổi với 12 bổ sung10 xóa
  1. 1 1
      bower.json
  2. 4 3
      build/pdf.combined.js
  3. 2 2
      build/pdf.js
  4. 4 3
      build/pdf.worker.js
  5. 1 1
      package.json

+ 1 - 1
bower.json

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

+ 4 - 3
build/pdf.combined.js

@@ -20,8 +20,8 @@ if (typeof PDFJS === 'undefined') {
   (typeof window !== 'undefined' ? window : this).PDFJS = {};
 }
 
-PDFJS.version = '1.3.22';
-PDFJS.build = 'aa75c4f';
+PDFJS.version = '1.3.24';
+PDFJS.build = 'dcd2812';
 
 (function pdfjsWrapper() {
   // Use strict in our context only - users might not want it
@@ -11983,6 +11983,7 @@ var Annotation = (function AnnotationClosure() {
     data.subtype = dict.get('Subtype').name;
 
     this.setFlags(dict.get('F'));
+    data.annotationFlags = this.flags;
 
     this.setRectangle(dict.get('Rect'));
     data.rect = this.rectangle;
@@ -12537,7 +12538,7 @@ var LinkAnnotation = (function LinkAnnotationClosure() {
         if (!isValidUrl(url, false)) {
           url = '';
         }
-        // According to ISO 32000-1:2008, section 12.6.4.7, 
+        // According to ISO 32000-1:2008, section 12.6.4.7,
         // URI should to be encoded in 7-bit ASCII.
         // Some bad PDFs may have URIs in UTF-8 encoding, see Bugzilla 1122280.
         try {

+ 2 - 2
build/pdf.js

@@ -20,8 +20,8 @@ if (typeof PDFJS === 'undefined') {
   (typeof window !== 'undefined' ? window : this).PDFJS = {};
 }
 
-PDFJS.version = '1.3.22';
-PDFJS.build = 'aa75c4f';
+PDFJS.version = '1.3.24';
+PDFJS.build = 'dcd2812';
 
 (function pdfjsWrapper() {
   // Use strict in our context only - users might not want it

+ 4 - 3
build/pdf.worker.js

@@ -20,8 +20,8 @@ if (typeof PDFJS === 'undefined') {
   (typeof window !== 'undefined' ? window : this).PDFJS = {};
 }
 
-PDFJS.version = '1.3.22';
-PDFJS.build = 'aa75c4f';
+PDFJS.version = '1.3.24';
+PDFJS.build = 'dcd2812';
 
 (function pdfjsWrapper() {
   // Use strict in our context only - users might not want it
@@ -5096,6 +5096,7 @@ var Annotation = (function AnnotationClosure() {
     data.subtype = dict.get('Subtype').name;
 
     this.setFlags(dict.get('F'));
+    data.annotationFlags = this.flags;
 
     this.setRectangle(dict.get('Rect'));
     data.rect = this.rectangle;
@@ -5650,7 +5651,7 @@ var LinkAnnotation = (function LinkAnnotationClosure() {
         if (!isValidUrl(url, false)) {
           url = '';
         }
-        // According to ISO 32000-1:2008, section 12.6.4.7, 
+        // According to ISO 32000-1:2008, section 12.6.4.7,
         // URI should to be encoded in 7-bit ASCII.
         // Some bad PDFs may have URIs in UTF-8 encoding, see Bugzilla 1122280.
         try {

+ 1 - 1
package.json

@@ -1,6 +1,6 @@
 {
   "name": "pdfjs-dist",
-  "version": "1.3.22",
+  "version": "1.3.24",
   "description": "Generic build of Mozilla's PDF.js library.",
   "keywords": [
     "Mozilla",