From 62b22e1ea5823729b82974b68d75aea58ca14946 Mon Sep 17 00:00:00 2001 From: Pdf Bot <pdfjsbot@gmail.com> Date: Mon, 22 Feb 2016 22:02:18 +0000 Subject: [PATCH] PDF.js version 1.4.87 - See mozilla/pdf.js@c53581f4e54026487393bb978b0dbb260ed8e13c --- bower.json | 2 +- build/pdf.combined.js | 12 ++++-------- build/pdf.js | 4 ++-- build/pdf.worker.js | 12 ++++-------- package.json | 2 +- 5 files changed, 12 insertions(+), 20 deletions(-) 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": [