From cec22181a647fda879b60e095ba075a582cc7480 Mon Sep 17 00:00:00 2001 From: Yury Delendik Date: Mon, 22 Sep 2014 16:31:07 -0500 Subject: [PATCH] PDF.js version 1.0.594 --- 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 29d509b22..a2a2664af 100644 --- a/bower.json +++ b/bower.json @@ -1,6 +1,6 @@ { "name": "pdfjs-dist", - "version": "1.0.592", + "version": "1.0.594", "keywords": [ "Mozilla", "pdf", diff --git a/build/pdf.combined.js b/build/pdf.combined.js index c22f2bea4..cb7a375f0 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.592'; -PDFJS.build = '46a9a35'; +PDFJS.version = '1.0.594'; +PDFJS.build = '223f34b'; (function pdfjsWrapper() { // Use strict in our context only - users might not want it @@ -17801,10 +17801,10 @@ var BinaryCMapReader = (function BinaryCMapReaderClosure() { function hexToStr(a, size) { // This code is hot. Special-case some common values to avoid creating an // object with subarray(). - if (size == 1) { + if (size === 1) { return String.fromCharCode(a[0], a[1]); } - if (size == 3) { + if (size === 3) { return String.fromCharCode(a[0], a[1], a[2], a[3]); } return String.fromCharCode.apply(null, a.subarray(0, size + 1)); diff --git a/build/pdf.js b/build/pdf.js index 6f72b0bac..336a27601 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.592'; -PDFJS.build = '46a9a35'; +PDFJS.version = '1.0.594'; +PDFJS.build = '223f34b'; (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 f9678644e..ca5e48234 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.592'; -PDFJS.build = '46a9a35'; +PDFJS.version = '1.0.594'; +PDFJS.build = '223f34b'; (function pdfjsWrapper() { // Use strict in our context only - users might not want it @@ -12944,10 +12944,10 @@ var BinaryCMapReader = (function BinaryCMapReaderClosure() { function hexToStr(a, size) { // This code is hot. Special-case some common values to avoid creating an // object with subarray(). - if (size == 1) { + if (size === 1) { return String.fromCharCode(a[0], a[1]); } - if (size == 3) { + if (size === 3) { return String.fromCharCode(a[0], a[1], a[2], a[3]); } return String.fromCharCode.apply(null, a.subarray(0, size + 1)); diff --git a/package.json b/package.json index e0f9947b0..4422e5f0c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "pdfjs-dist", - "version": "1.0.592", + "version": "1.0.594", "description": "Generic build of Mozilla's PDF.js library.", "keywords": [ "Mozilla",