diff --git a/bower.json b/bower.json index 6e3f43023..ab51cadaf 100644 --- a/bower.json +++ b/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" diff --git a/build/pdf.combined.js b/build/pdf.combined.js index b4f395613..5b45e437f 100644 --- a/build/pdf.combined.js +++ b/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, {}); diff --git a/build/pdf.js b/build/pdf.js index 8971c3921..f853d759e 100644 --- a/build/pdf.js +++ b/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 ? diff --git a/build/pdf.worker.js b/build/pdf.worker.js index 345cdd43a..fcf7c4fde 100644 --- a/build/pdf.worker.js +++ b/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, {}); diff --git a/package.json b/package.json index 673303e51..e06e65b54 100644 --- a/package.json +++ b/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": [