From f7fd871423ec71a5a2843db81df67e834fb15010 Mon Sep 17 00:00:00 2001 From: Yury Delendik Date: Mon, 22 Sep 2014 16:29:57 -0500 Subject: [PATCH] PDF.js version 1.0.509 --- bower.json | 2 +- build/pdf.combined.js | 14 +++++++------- build/pdf.js | 14 +++++++------- build/pdf.worker.js | 5 +++-- package.json | 2 +- 5 files changed, 19 insertions(+), 18 deletions(-) diff --git a/bower.json b/bower.json index c94725a63..6e8839efe 100644 --- a/bower.json +++ b/bower.json @@ -1,6 +1,6 @@ { "name": "pdfjs-dist", - "version": "1.0.505", + "version": "1.0.509", "keywords": [ "Mozilla", "pdf", diff --git a/build/pdf.combined.js b/build/pdf.combined.js index 5a24e5fab..00b6b8761 100644 --- a/build/pdf.combined.js +++ b/build/pdf.combined.js @@ -15,14 +15,15 @@ * limitations under the License. */ /*jshint globalstrict: false */ +/* globals PDFJS */ // Initializing PDFJS global object (if still undefined) if (typeof PDFJS === 'undefined') { (typeof window !== 'undefined' ? window : this).PDFJS = {}; } -PDFJS.version = '1.0.505'; -PDFJS.build = '0e0ba4f'; +PDFJS.version = '1.0.509'; +PDFJS.build = '7026543'; (function pdfjsWrapper() { // Use strict in our context only - users might not want it @@ -6305,7 +6306,7 @@ var AnnotationUtils = (function AnnotationUtilsClosure() { return element; } - function getHtmlElementForTextAnnotation(item, commonObjs) { + function getHtmlElementForTextAnnotation(item) { var rect = item.rect; // sanity check because of OOo-generated PDFs @@ -6422,8 +6423,7 @@ var AnnotationUtils = (function AnnotationUtilsClosure() { return container; } - function getHtmlElementForLinkAnnotation(item, commonObjs) { - + function getHtmlElementForLinkAnnotation(item) { var container = initContainer(item); container.className = 'annotLink'; @@ -6443,9 +6443,9 @@ var AnnotationUtils = (function AnnotationUtilsClosure() { case AnnotationType.WIDGET: return getHtmlElementForTextWidgetAnnotation(data, objs); case AnnotationType.TEXT: - return getHtmlElementForTextAnnotation(data, objs); + return getHtmlElementForTextAnnotation(data); case AnnotationType.LINK: - return getHtmlElementForLinkAnnotation(data, objs); + return getHtmlElementForLinkAnnotation(data); default: throw new Error('Unsupported annotationType: ' + data.annotationType); } diff --git a/build/pdf.js b/build/pdf.js index 30e641de0..d665ce000 100644 --- a/build/pdf.js +++ b/build/pdf.js @@ -15,14 +15,15 @@ * limitations under the License. */ /*jshint globalstrict: false */ +/* globals PDFJS */ // Initializing PDFJS global object (if still undefined) if (typeof PDFJS === 'undefined') { (typeof window !== 'undefined' ? window : this).PDFJS = {}; } -PDFJS.version = '1.0.505'; -PDFJS.build = '0e0ba4f'; +PDFJS.version = '1.0.509'; +PDFJS.build = '7026543'; (function pdfjsWrapper() { // Use strict in our context only - users might not want it @@ -6349,7 +6350,7 @@ var AnnotationUtils = (function AnnotationUtilsClosure() { return element; } - function getHtmlElementForTextAnnotation(item, commonObjs) { + function getHtmlElementForTextAnnotation(item) { var rect = item.rect; // sanity check because of OOo-generated PDFs @@ -6466,8 +6467,7 @@ var AnnotationUtils = (function AnnotationUtilsClosure() { return container; } - function getHtmlElementForLinkAnnotation(item, commonObjs) { - + function getHtmlElementForLinkAnnotation(item) { var container = initContainer(item); container.className = 'annotLink'; @@ -6487,9 +6487,9 @@ var AnnotationUtils = (function AnnotationUtilsClosure() { case AnnotationType.WIDGET: return getHtmlElementForTextWidgetAnnotation(data, objs); case AnnotationType.TEXT: - return getHtmlElementForTextAnnotation(data, objs); + return getHtmlElementForTextAnnotation(data); case AnnotationType.LINK: - return getHtmlElementForLinkAnnotation(data, objs); + return getHtmlElementForLinkAnnotation(data); default: throw new Error('Unsupported annotationType: ' + data.annotationType); } diff --git a/build/pdf.worker.js b/build/pdf.worker.js index f033a1509..018ae4705 100644 --- a/build/pdf.worker.js +++ b/build/pdf.worker.js @@ -15,14 +15,15 @@ * limitations under the License. */ /*jshint globalstrict: false */ +/* globals PDFJS */ // Initializing PDFJS global object (if still undefined) if (typeof PDFJS === 'undefined') { (typeof window !== 'undefined' ? window : this).PDFJS = {}; } -PDFJS.version = '1.0.505'; -PDFJS.build = '0e0ba4f'; +PDFJS.version = '1.0.509'; +PDFJS.build = '7026543'; (function pdfjsWrapper() { // Use strict in our context only - users might not want it diff --git a/package.json b/package.json index d618cf816..c7f5c8e12 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "pdfjs-dist", - "version": "1.0.505", + "version": "1.0.509", "description": "Generic build of Mozilla's PDF.js library.", "keywords": [ "Mozilla",