浏览代码

PDF.js version 1.0.913

Pdf Bot 10 年之前
父节点
当前提交
1407798db7
共有 5 个文件被更改,包括 10 次插入10 次删除
  1. 1 1
      bower.json
  2. 3 3
      build/pdf.combined.js
  3. 2 2
      build/pdf.js
  4. 3 3
      build/pdf.worker.js
  5. 1 1
      package.json

+ 1 - 1
bower.json

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

+ 3 - 3
build/pdf.combined.js

@@ -22,8 +22,8 @@ if (typeof PDFJS === 'undefined') {
   (typeof window !== 'undefined' ? window : this).PDFJS = {};
 }
 
-PDFJS.version = '1.0.911';
-PDFJS.build = '92d3d7f';
+PDFJS.version = '1.0.913';
+PDFJS.build = '419ba54';
 
 (function pdfjsWrapper() {
   // Use strict in our context only - users might not want it
@@ -11314,7 +11314,7 @@ var WidgetAnnotation = (function WidgetAnnotationClosure() {
       var name = namedItem.get('T');
       if (name) {
         fieldName.unshift(stringToPDFString(name));
-      } else {
+      } else if (parent && ref) {
         // The field name is absent, that means more than one field
         // with the same name may exist. Replacing the empty name
         // with the '`' plus index in the parent's 'Kids' array.

+ 2 - 2
build/pdf.js

@@ -22,8 +22,8 @@ if (typeof PDFJS === 'undefined') {
   (typeof window !== 'undefined' ? window : this).PDFJS = {};
 }
 
-PDFJS.version = '1.0.911';
-PDFJS.build = '92d3d7f';
+PDFJS.version = '1.0.913';
+PDFJS.build = '419ba54';
 
 (function pdfjsWrapper() {
   // Use strict in our context only - users might not want it

+ 3 - 3
build/pdf.worker.js

@@ -22,8 +22,8 @@ if (typeof PDFJS === 'undefined') {
   (typeof window !== 'undefined' ? window : this).PDFJS = {};
 }
 
-PDFJS.version = '1.0.911';
-PDFJS.build = '92d3d7f';
+PDFJS.version = '1.0.913';
+PDFJS.build = '419ba54';
 
 (function pdfjsWrapper() {
   // Use strict in our context only - users might not want it
@@ -5189,7 +5189,7 @@ var WidgetAnnotation = (function WidgetAnnotationClosure() {
       var name = namedItem.get('T');
       if (name) {
         fieldName.unshift(stringToPDFString(name));
-      } else {
+      } else if (parent && ref) {
         // The field name is absent, that means more than one field
         // with the same name may exist. Replacing the empty name
         // with the '`' plus index in the parent's 'Kids' array.

+ 1 - 1
package.json

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