From 58ca50d0fb004dd4ea05f8b49061565cffa3dee7 Mon Sep 17 00:00:00 2001 From: Pdf Bot Date: Sun, 31 Jan 2016 19:18:44 +0000 Subject: [PATCH] PDF.js version 1.4.37 - See mozilla/pdf.js@a4b90243d0c7b825a7a549440c701073d3725d9f --- bower.json | 2 +- build/pdf.combined.js | 9 +++------ build/pdf.js | 4 ++-- build/pdf.worker.js | 9 +++------ package.json | 2 +- 5 files changed, 10 insertions(+), 16 deletions(-) diff --git a/bower.json b/bower.json index 557cdbf3f..8775ddbbb 100644 --- a/bower.json +++ b/bower.json @@ -1,6 +1,6 @@ { "name": "pdfjs-dist", - "version": "1.4.35", + "version": "1.4.37", "main": [ "build/pdf.js", "build/pdf.worker.js" diff --git a/build/pdf.combined.js b/build/pdf.combined.js index d3af6da6f..df24595f4 100644 --- a/build/pdf.combined.js +++ b/build/pdf.combined.js @@ -28,8 +28,8 @@ factory((root.pdfjsDistBuildPdfCombined = {})); // Use strict in our context only - users might not want it 'use strict'; -var pdfjsVersion = '1.4.35'; -var pdfjsBuild = '5d797e1'; +var pdfjsVersion = '1.4.37'; +var pdfjsBuild = 'a4b9024'; var pdfjsFilePath = typeof document !== 'undefined' && document.currentScript ? @@ -46410,14 +46410,11 @@ var PartialEvaluator = (function PartialEvaluatorClosure() { var diffEncoding = encoding.get('Differences'); var index = 0; for (var j = 0, jj = diffEncoding.length; j < jj; j++) { - var data = diffEncoding[j]; + var data = xref.fetchIfRef(diffEncoding[j]); if (isNum(data)) { index = data; } else if (isName(data)) { differences[index++] = data.name; - } else if (isRef(data)) { - diffEncoding[j--] = xref.fetch(data); - continue; } else { error('Invalid entry in \'Differences\' array: ' + data); } diff --git a/build/pdf.js b/build/pdf.js index 11198c2cd..c966e6dc2 100644 --- a/build/pdf.js +++ b/build/pdf.js @@ -28,8 +28,8 @@ factory((root.pdfjsDistBuildPdf = {})); // Use strict in our context only - users might not want it 'use strict'; -var pdfjsVersion = '1.4.35'; -var pdfjsBuild = '5d797e1'; +var pdfjsVersion = '1.4.37'; +var pdfjsBuild = 'a4b9024'; var pdfjsFilePath = typeof document !== 'undefined' && document.currentScript ? diff --git a/build/pdf.worker.js b/build/pdf.worker.js index 1f312c933..c1edd764a 100644 --- a/build/pdf.worker.js +++ b/build/pdf.worker.js @@ -28,8 +28,8 @@ factory((root.pdfjsDistBuildPdfWorker = {})); // Use strict in our context only - users might not want it 'use strict'; -var pdfjsVersion = '1.4.35'; -var pdfjsBuild = '5d797e1'; +var pdfjsVersion = '1.4.37'; +var pdfjsBuild = 'a4b9024'; var pdfjsFilePath = typeof document !== 'undefined' && document.currentScript ? @@ -38569,14 +38569,11 @@ var PartialEvaluator = (function PartialEvaluatorClosure() { var diffEncoding = encoding.get('Differences'); var index = 0; for (var j = 0, jj = diffEncoding.length; j < jj; j++) { - var data = diffEncoding[j]; + var data = xref.fetchIfRef(diffEncoding[j]); if (isNum(data)) { index = data; } else if (isName(data)) { differences[index++] = data.name; - } else if (isRef(data)) { - diffEncoding[j--] = xref.fetch(data); - continue; } else { error('Invalid entry in \'Differences\' array: ' + data); } diff --git a/package.json b/package.json index 8795f753e..19f4d0a5c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "pdfjs-dist", - "version": "1.4.35", + "version": "1.4.37", "main": "build/pdf.js", "description": "Generic build of Mozilla's PDF.js library.", "keywords": [