From 0eff5f168c9c10ed312ef234af076a7bf307f751 Mon Sep 17 00:00:00 2001 From: Pdf Bot Date: Sat, 12 Dec 2015 17:51:47 +0000 Subject: [PATCH] PDF.js version 1.3.74 - See mozilla/pdf.js@4485c799400961e51ef48974cebf3231c876950b --- bower.json | 2 +- build/pdf.combined.js | 5 +++-- build/pdf.js | 5 +++-- build/pdf.worker.js | 4 ++-- package.json | 2 +- 5 files changed, 10 insertions(+), 8 deletions(-) diff --git a/bower.json b/bower.json index 4e6b4e8c5..16b3cd8cd 100644 --- a/bower.json +++ b/bower.json @@ -1,6 +1,6 @@ { "name": "pdfjs-dist", - "version": "1.3.72", + "version": "1.3.74", "main": [ "build/pdf.js", "build/pdf.worker.js" diff --git a/build/pdf.combined.js b/build/pdf.combined.js index 202c6ea18..7f8492c07 100644 --- a/build/pdf.combined.js +++ b/build/pdf.combined.js @@ -20,8 +20,8 @@ if (typeof PDFJS === 'undefined') { (typeof window !== 'undefined' ? window : this).PDFJS = {}; } -PDFJS.version = '1.3.72'; -PDFJS.build = '4d6f3c8'; +PDFJS.version = '1.3.74'; +PDFJS.build = '4485c79'; (function pdfjsWrapper() { // Use strict in our context only - users might not want it @@ -6696,6 +6696,7 @@ FontLoader.prototype = { var styleElement = this.styleElement; if (styleElement) { styleElement.parentNode.removeChild(styleElement); + styleElement = this.styleElement = null; } this.nativeFontFaces.forEach(function(nativeFontFace) { document.fonts.delete(nativeFontFace); diff --git a/build/pdf.js b/build/pdf.js index db1418929..5a3e34302 100644 --- a/build/pdf.js +++ b/build/pdf.js @@ -20,8 +20,8 @@ if (typeof PDFJS === 'undefined') { (typeof window !== 'undefined' ? window : this).PDFJS = {}; } -PDFJS.version = '1.3.72'; -PDFJS.build = '4d6f3c8'; +PDFJS.version = '1.3.74'; +PDFJS.build = '4485c79'; (function pdfjsWrapper() { // Use strict in our context only - users might not want it @@ -6755,6 +6755,7 @@ FontLoader.prototype = { var styleElement = this.styleElement; if (styleElement) { styleElement.parentNode.removeChild(styleElement); + styleElement = this.styleElement = null; } this.nativeFontFaces.forEach(function(nativeFontFace) { document.fonts.delete(nativeFontFace); diff --git a/build/pdf.worker.js b/build/pdf.worker.js index b26bf6f92..b1544e4ea 100644 --- a/build/pdf.worker.js +++ b/build/pdf.worker.js @@ -20,8 +20,8 @@ if (typeof PDFJS === 'undefined') { (typeof window !== 'undefined' ? window : this).PDFJS = {}; } -PDFJS.version = '1.3.72'; -PDFJS.build = '4d6f3c8'; +PDFJS.version = '1.3.74'; +PDFJS.build = '4485c79'; (function pdfjsWrapper() { // Use strict in our context only - users might not want it diff --git a/package.json b/package.json index 12eb6e2ba..ae2d81d3c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "pdfjs-dist", - "version": "1.3.72", + "version": "1.3.74", "description": "Generic build of Mozilla's PDF.js library.", "keywords": [ "Mozilla",