From dba901ab142d1a1081f85d2ca53c28881dbef9e4 Mon Sep 17 00:00:00 2001 From: Pdf Bot Date: Thu, 26 Feb 2015 23:45:35 +0000 Subject: [PATCH] PDF.js version 1.0.1154 --- bower.json | 2 +- build/pdf.combined.js | 8 ++++---- build/pdf.js | 4 ++-- build/pdf.worker.js | 8 ++++---- package.json | 2 +- 5 files changed, 12 insertions(+), 12 deletions(-) diff --git a/bower.json b/bower.json index dd936a7b6..948d45eef 100644 --- a/bower.json +++ b/bower.json @@ -1,6 +1,6 @@ { "name": "pdfjs-dist", - "version": "1.0.1152", + "version": "1.0.1154", "main": [ "build/pdf.js", "build/pdf.worker.js" diff --git a/build/pdf.combined.js b/build/pdf.combined.js index 9718be080..fc4cd4994 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.1152'; -PDFJS.build = 'ec7bab6'; +PDFJS.version = '1.0.1154'; +PDFJS.build = '23916b2'; (function pdfjsWrapper() { // Use strict in our context only - users might not want it @@ -13104,10 +13104,10 @@ var ColorSpace = (function ColorSpaceClosure() { case 'CMYK': return 'DeviceCmykCS'; case 'CalGray': - params = cs[1].getAll(); + params = xref.fetchIfRef(cs[1]).getAll(); return ['CalGrayCS', params]; case 'CalRGB': - params = cs[1].getAll(); + params = xref.fetchIfRef(cs[1]).getAll(); return ['CalRGBCS', params]; case 'ICCBased': var stream = xref.fetchIfRef(cs[1]); diff --git a/build/pdf.js b/build/pdf.js index 08e60e577..38eb21114 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.1152'; -PDFJS.build = 'ec7bab6'; +PDFJS.version = '1.0.1154'; +PDFJS.build = '23916b2'; (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 793c9205a..e500c539c 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.1152'; -PDFJS.build = 'ec7bab6'; +PDFJS.version = '1.0.1154'; +PDFJS.build = '23916b2'; (function pdfjsWrapper() { // Use strict in our context only - users might not want it @@ -6779,10 +6779,10 @@ var ColorSpace = (function ColorSpaceClosure() { case 'CMYK': return 'DeviceCmykCS'; case 'CalGray': - params = cs[1].getAll(); + params = xref.fetchIfRef(cs[1]).getAll(); return ['CalGrayCS', params]; case 'CalRGB': - params = cs[1].getAll(); + params = xref.fetchIfRef(cs[1]).getAll(); return ['CalRGBCS', params]; case 'ICCBased': var stream = xref.fetchIfRef(cs[1]); diff --git a/package.json b/package.json index 2284d746a..25ee297c7 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "pdfjs-dist", - "version": "1.0.1152", + "version": "1.0.1154", "description": "Generic build of Mozilla's PDF.js library.", "keywords": [ "Mozilla",