From e9062ac1e2fc99d52a862f280e822f1b44b84ecf Mon Sep 17 00:00:00 2001 From: Pdf Bot Date: Mon, 22 Feb 2016 20:56:53 +0000 Subject: [PATCH] PDF.js version 1.4.85 - See mozilla/pdf.js@ebe6fb2560659948edefdfa62d38621dfbccd894 --- bower.json | 2 +- build/pdf.combined.js | 20 ++++++++++++++------ build/pdf.js | 16 ++++++++++------ build/pdf.worker.js | 8 ++++++-- package.json | 2 +- 5 files changed, 32 insertions(+), 16 deletions(-) diff --git a/bower.json b/bower.json index 94b7ddb1e..6e3f43023 100644 --- a/bower.json +++ b/bower.json @@ -1,6 +1,6 @@ { "name": "pdfjs-dist", - "version": "1.4.83", + "version": "1.4.85", "main": [ "build/pdf.js", "build/pdf.worker.js" diff --git a/build/pdf.combined.js b/build/pdf.combined.js index 1cf621528..b4f395613 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.83'; -var pdfjsBuild = '0629fd0'; +var pdfjsVersion = '1.4.85'; +var pdfjsBuild = 'ebe6fb2'; var pdfjsFilePath = typeof document !== 'undefined' && document.currentScript ? @@ -18997,7 +18997,8 @@ var PopupElement = (function PopupElementClosure() { var HighlightAnnotationElement = ( function HighlightAnnotationElementClosure() { function HighlightAnnotationElement(parameters) { - AnnotationElement.call(this, parameters, true); + var isRenderable = parameters.data.hasPopup; + AnnotationElement.call(this, parameters, isRenderable); } Util.inherit(HighlightAnnotationElement, AnnotationElement, { @@ -19024,7 +19025,8 @@ var HighlightAnnotationElement = ( var UnderlineAnnotationElement = ( function UnderlineAnnotationElementClosure() { function UnderlineAnnotationElement(parameters) { - AnnotationElement.call(this, parameters, true); + var isRenderable = parameters.data.hasPopup; + AnnotationElement.call(this, parameters, isRenderable); } Util.inherit(UnderlineAnnotationElement, AnnotationElement, { @@ -19050,7 +19052,8 @@ var UnderlineAnnotationElement = ( */ var SquigglyAnnotationElement = (function SquigglyAnnotationElementClosure() { function SquigglyAnnotationElement(parameters) { - AnnotationElement.call(this, parameters, true); + var isRenderable = parameters.data.hasPopup; + AnnotationElement.call(this, parameters, isRenderable); } Util.inherit(SquigglyAnnotationElement, AnnotationElement, { @@ -19077,7 +19080,8 @@ var SquigglyAnnotationElement = (function SquigglyAnnotationElementClosure() { var StrikeOutAnnotationElement = ( function StrikeOutAnnotationElementClosure() { function StrikeOutAnnotationElement(parameters) { - AnnotationElement.call(this, parameters, true); + var isRenderable = parameters.data.hasPopup; + AnnotationElement.call(this, parameters, isRenderable); } Util.inherit(StrikeOutAnnotationElement, AnnotationElement, { @@ -48605,6 +48609,7 @@ var HighlightAnnotation = (function HighlightAnnotationClosure() { Annotation.call(this, parameters); this.data.annotationType = AnnotationType.HIGHLIGHT; + this.data.hasPopup = parameters.dict.has('Popup'); // PDF viewers completely ignore any border styles. this.data.borderStyle.setWidth(0); @@ -48620,6 +48625,7 @@ var UnderlineAnnotation = (function UnderlineAnnotationClosure() { Annotation.call(this, parameters); this.data.annotationType = AnnotationType.UNDERLINE; + this.data.hasPopup = parameters.dict.has('Popup'); // PDF viewers completely ignore any border styles. this.data.borderStyle.setWidth(0); @@ -48635,6 +48641,7 @@ var SquigglyAnnotation = (function SquigglyAnnotationClosure() { Annotation.call(this, parameters); this.data.annotationType = AnnotationType.SQUIGGLY; + this.data.hasPopup = parameters.dict.has('Popup'); // PDF viewers completely ignore any border styles. this.data.borderStyle.setWidth(0); @@ -48650,6 +48657,7 @@ var StrikeOutAnnotation = (function StrikeOutAnnotationClosure() { Annotation.call(this, parameters); this.data.annotationType = AnnotationType.STRIKEOUT; + this.data.hasPopup = parameters.dict.has('Popup'); // PDF viewers completely ignore any border styles. this.data.borderStyle.setWidth(0); diff --git a/build/pdf.js b/build/pdf.js index 88a4de17d..8971c3921 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.83'; -var pdfjsBuild = '0629fd0'; +var pdfjsVersion = '1.4.85'; +var pdfjsBuild = 'ebe6fb2'; var pdfjsFilePath = typeof document !== 'undefined' && document.currentScript ? @@ -3103,7 +3103,8 @@ var PopupElement = (function PopupElementClosure() { var HighlightAnnotationElement = ( function HighlightAnnotationElementClosure() { function HighlightAnnotationElement(parameters) { - AnnotationElement.call(this, parameters, true); + var isRenderable = parameters.data.hasPopup; + AnnotationElement.call(this, parameters, isRenderable); } Util.inherit(HighlightAnnotationElement, AnnotationElement, { @@ -3130,7 +3131,8 @@ var HighlightAnnotationElement = ( var UnderlineAnnotationElement = ( function UnderlineAnnotationElementClosure() { function UnderlineAnnotationElement(parameters) { - AnnotationElement.call(this, parameters, true); + var isRenderable = parameters.data.hasPopup; + AnnotationElement.call(this, parameters, isRenderable); } Util.inherit(UnderlineAnnotationElement, AnnotationElement, { @@ -3156,7 +3158,8 @@ var UnderlineAnnotationElement = ( */ var SquigglyAnnotationElement = (function SquigglyAnnotationElementClosure() { function SquigglyAnnotationElement(parameters) { - AnnotationElement.call(this, parameters, true); + var isRenderable = parameters.data.hasPopup; + AnnotationElement.call(this, parameters, isRenderable); } Util.inherit(SquigglyAnnotationElement, AnnotationElement, { @@ -3183,7 +3186,8 @@ var SquigglyAnnotationElement = (function SquigglyAnnotationElementClosure() { var StrikeOutAnnotationElement = ( function StrikeOutAnnotationElementClosure() { function StrikeOutAnnotationElement(parameters) { - AnnotationElement.call(this, parameters, true); + var isRenderable = parameters.data.hasPopup; + AnnotationElement.call(this, parameters, isRenderable); } Util.inherit(StrikeOutAnnotationElement, AnnotationElement, { diff --git a/build/pdf.worker.js b/build/pdf.worker.js index e5521a4b5..345cdd43a 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.83'; -var pdfjsBuild = '0629fd0'; +var pdfjsVersion = '1.4.85'; +var pdfjsBuild = 'ebe6fb2'; var pdfjsFilePath = typeof document !== 'undefined' && document.currentScript ? @@ -40744,6 +40744,7 @@ var HighlightAnnotation = (function HighlightAnnotationClosure() { Annotation.call(this, parameters); this.data.annotationType = AnnotationType.HIGHLIGHT; + this.data.hasPopup = parameters.dict.has('Popup'); // PDF viewers completely ignore any border styles. this.data.borderStyle.setWidth(0); @@ -40759,6 +40760,7 @@ var UnderlineAnnotation = (function UnderlineAnnotationClosure() { Annotation.call(this, parameters); this.data.annotationType = AnnotationType.UNDERLINE; + this.data.hasPopup = parameters.dict.has('Popup'); // PDF viewers completely ignore any border styles. this.data.borderStyle.setWidth(0); @@ -40774,6 +40776,7 @@ var SquigglyAnnotation = (function SquigglyAnnotationClosure() { Annotation.call(this, parameters); this.data.annotationType = AnnotationType.SQUIGGLY; + this.data.hasPopup = parameters.dict.has('Popup'); // PDF viewers completely ignore any border styles. this.data.borderStyle.setWidth(0); @@ -40789,6 +40792,7 @@ var StrikeOutAnnotation = (function StrikeOutAnnotationClosure() { Annotation.call(this, parameters); this.data.annotationType = AnnotationType.STRIKEOUT; + this.data.hasPopup = parameters.dict.has('Popup'); // PDF viewers completely ignore any border styles. this.data.borderStyle.setWidth(0); diff --git a/package.json b/package.json index 9659c28ff..673303e51 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "pdfjs-dist", - "version": "1.4.83", + "version": "1.4.85", "main": "build/pdf.js", "description": "Generic build of Mozilla's PDF.js library.", "keywords": [