From 0648f89b78e80bf63082565f31f0375f64f7dd1c Mon Sep 17 00:00:00 2001 From: Pdf Bot Date: Thu, 16 Oct 2014 00:54:55 +0100 Subject: [PATCH] PDF.js version 1.0.907 --- bower.json | 2 +- build/pdf.combined.js | 6 +++--- build/pdf.js | 4 ++-- build/pdf.worker.js | 6 +++--- package.json | 2 +- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/bower.json b/bower.json index f25505987..c111711c6 100644 --- a/bower.json +++ b/bower.json @@ -1,6 +1,6 @@ { "name": "pdfjs-dist", - "version": "1.0.905", + "version": "1.0.907", "main": [ "build/pdf.js", "build/pdf.worker.js" diff --git a/build/pdf.combined.js b/build/pdf.combined.js index f9f312995..03169231b 100644 --- a/build/pdf.combined.js +++ b/build/pdf.combined.js @@ -22,8 +22,8 @@ if (typeof PDFJS === 'undefined') { (typeof window !== 'undefined' ? window : this).PDFJS = {}; } -PDFJS.version = '1.0.905'; -PDFJS.build = '4e890b4'; +PDFJS.version = '1.0.907'; +PDFJS.build = 'e9072ac'; (function pdfjsWrapper() { // Use strict in our context only - users might not want it @@ -38007,7 +38007,7 @@ var JpegStream = (function JpegStreamClosure() { var jpegImage = new JpegImage(); // checking if values needs to be transformed before conversion - if (this.dict && isArray(this.dict.get('Decode'))) { + if (this.forceRGB && this.dict && isArray(this.dict.get('Decode'))) { var decodeArr = this.dict.get('Decode'); var bitsPerComponent = this.dict.get('BitsPerComponent') || 8; var decodeArrLength = decodeArr.length; diff --git a/build/pdf.js b/build/pdf.js index 5739ea3d7..1ba993ba4 100644 --- a/build/pdf.js +++ b/build/pdf.js @@ -22,8 +22,8 @@ if (typeof PDFJS === 'undefined') { (typeof window !== 'undefined' ? window : this).PDFJS = {}; } -PDFJS.version = '1.0.905'; -PDFJS.build = '4e890b4'; +PDFJS.version = '1.0.907'; +PDFJS.build = 'e9072ac'; (function pdfjsWrapper() { // Use strict in our context only - users might not want it diff --git a/build/pdf.worker.js b/build/pdf.worker.js index cb55dd4a3..9820c1009 100644 --- a/build/pdf.worker.js +++ b/build/pdf.worker.js @@ -22,8 +22,8 @@ if (typeof PDFJS === 'undefined') { (typeof window !== 'undefined' ? window : this).PDFJS = {}; } -PDFJS.version = '1.0.905'; -PDFJS.build = '4e890b4'; +PDFJS.version = '1.0.907'; +PDFJS.build = 'e9072ac'; (function pdfjsWrapper() { // Use strict in our context only - users might not want it @@ -31884,7 +31884,7 @@ var JpegStream = (function JpegStreamClosure() { var jpegImage = new JpegImage(); // checking if values needs to be transformed before conversion - if (this.dict && isArray(this.dict.get('Decode'))) { + if (this.forceRGB && this.dict && isArray(this.dict.get('Decode'))) { var decodeArr = this.dict.get('Decode'); var bitsPerComponent = this.dict.get('BitsPerComponent') || 8; var decodeArrLength = decodeArr.length; diff --git a/package.json b/package.json index aa884b799..c0d8c4319 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "pdfjs-dist", - "version": "1.0.905", + "version": "1.0.907", "description": "Generic build of Mozilla's PDF.js library.", "keywords": [ "Mozilla",