diff --git a/bower.json b/bower.json index bea8ac8b7..af43e1e3f 100644 --- a/bower.json +++ b/bower.json @@ -1,6 +1,6 @@ { "name": "pdfjs-dist", - "version": "1.0.324", + "version": "1.0.326", "keywords": [ "Mozilla", "pdf", diff --git a/build/pdf.combined.js b/build/pdf.combined.js index 829c9485a..8d3d55432 100644 --- a/build/pdf.combined.js +++ b/build/pdf.combined.js @@ -21,8 +21,8 @@ if (typeof PDFJS === 'undefined') { (typeof window !== 'undefined' ? window : this).PDFJS = {}; } -PDFJS.version = '1.0.324'; -PDFJS.build = 'd487d42'; +PDFJS.version = '1.0.326'; +PDFJS.build = '36c0c64'; (function pdfjsWrapper() { // Use strict in our context only - users might not want it @@ -4307,7 +4307,7 @@ var CanvasGraphics = (function CanvasGraphicsClosure() { function genericComposeSMask(maskCtx, layerCtx, width, height, subtype, backdrop) { - var hasBackdrop = backdrop !== undefined; + var hasBackdrop = !!backdrop; var r0 = hasBackdrop ? backdrop[0] : 0; var g0 = hasBackdrop ? backdrop[1] : 0; var b0 = hasBackdrop ? backdrop[2] : 0; diff --git a/build/pdf.js b/build/pdf.js index ed2718fdc..93a1ef4fe 100644 --- a/build/pdf.js +++ b/build/pdf.js @@ -21,8 +21,8 @@ if (typeof PDFJS === 'undefined') { (typeof window !== 'undefined' ? window : this).PDFJS = {}; } -PDFJS.version = '1.0.324'; -PDFJS.build = 'd487d42'; +PDFJS.version = '1.0.326'; +PDFJS.build = '36c0c64'; (function pdfjsWrapper() { // Use strict in our context only - users might not want it @@ -4355,7 +4355,7 @@ var CanvasGraphics = (function CanvasGraphicsClosure() { function genericComposeSMask(maskCtx, layerCtx, width, height, subtype, backdrop) { - var hasBackdrop = backdrop !== undefined; + var hasBackdrop = !!backdrop; var r0 = hasBackdrop ? backdrop[0] : 0; var g0 = hasBackdrop ? backdrop[1] : 0; var b0 = hasBackdrop ? backdrop[2] : 0; diff --git a/build/pdf.worker.js b/build/pdf.worker.js index b71d7c0c1..783ff23bc 100644 --- a/build/pdf.worker.js +++ b/build/pdf.worker.js @@ -21,8 +21,8 @@ if (typeof PDFJS === 'undefined') { (typeof window !== 'undefined' ? window : this).PDFJS = {}; } -PDFJS.version = '1.0.324'; -PDFJS.build = 'd487d42'; +PDFJS.version = '1.0.326'; +PDFJS.build = '36c0c64'; (function pdfjsWrapper() { // Use strict in our context only - users might not want it diff --git a/package.json b/package.json index c47a54dc4..f8679b365 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "pdfjs-dist", - "version": "1.0.324", + "version": "1.0.326", "description": "Generic build of Mozilla's PDF.js library.", "keywords": [ "Mozilla",