From 1407798db7a05ad4a915e175b25ab5fa4166ac16 Mon Sep 17 00:00:00 2001 From: Pdf Bot Date: Tue, 21 Oct 2014 20:48:18 +0100 Subject: [PATCH] PDF.js version 1.0.913 --- bower.json | 2 +- build/pdf.combined.js | 6 +++--- build/pdf.js | 4 ++-- build/pdf.worker.js | 6 +++--- package.json | 2 +- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/bower.json b/bower.json index 90da510e1..fa8a078f5 100644 --- a/bower.json +++ b/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" diff --git a/build/pdf.combined.js b/build/pdf.combined.js index 5b06e5df4..860f1fef2 100644 --- a/build/pdf.combined.js +++ b/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. diff --git a/build/pdf.js b/build/pdf.js index 1e656e029..89db0389b 100644 --- a/build/pdf.js +++ b/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 diff --git a/build/pdf.worker.js b/build/pdf.worker.js index 03dd25e37..af0602593 100644 --- a/build/pdf.worker.js +++ b/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. diff --git a/package.json b/package.json index 8f316ff81..e458ca113 100644 --- a/package.json +++ b/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",