diff --git a/bower.json b/bower.json index 34cf815d4..6e19ca10c 100644 --- a/bower.json +++ b/bower.json @@ -1,6 +1,6 @@ { "name": "pdfjs-dist", - "version": "1.5.330", + "version": "1.5.332", "main": [ "build/pdf.js", "build/pdf.worker.js" diff --git a/build/pdf.combined.js b/build/pdf.combined.js index 461024d0b..3287fd8cf 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.5.330'; -var pdfjsBuild = '43613f1'; +var pdfjsVersion = '1.5.332'; +var pdfjsBuild = 'bd562bb'; var pdfjsFilePath = typeof document !== 'undefined' && document.currentScript ? @@ -3542,10 +3542,7 @@ var createBlob = function createBlob(data, contentType) { if (typeof Blob !== 'undefined') { return new Blob([data], { type: contentType }); } - // Blob builder is deprecated in FF14 and removed in FF18. - var bb = new MozBlobBuilder(); - bb.append(data); - return bb.getBlob(contentType); + warn('The "Blob" constructor is not supported.'); }; var createObjectURL = (function createObjectURLClosure() { diff --git a/build/pdf.js b/build/pdf.js index 1a83b72fa..bbf2e4045 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.5.330'; -var pdfjsBuild = '43613f1'; +var pdfjsVersion = '1.5.332'; +var pdfjsBuild = 'bd562bb'; var pdfjsFilePath = typeof document !== 'undefined' && document.currentScript ? @@ -1521,10 +1521,7 @@ var createBlob = function createBlob(data, contentType) { if (typeof Blob !== 'undefined') { return new Blob([data], { type: contentType }); } - // Blob builder is deprecated in FF14 and removed in FF18. - var bb = new MozBlobBuilder(); - bb.append(data); - return bb.getBlob(contentType); + warn('The "Blob" constructor is not supported.'); }; var createObjectURL = (function createObjectURLClosure() { diff --git a/build/pdf.worker.js b/build/pdf.worker.js index 79cdae1c2..b948f2330 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.5.330'; -var pdfjsBuild = '43613f1'; +var pdfjsVersion = '1.5.332'; +var pdfjsBuild = 'bd562bb'; var pdfjsFilePath = typeof document !== 'undefined' && document.currentScript ? @@ -3542,10 +3542,7 @@ var createBlob = function createBlob(data, contentType) { if (typeof Blob !== 'undefined') { return new Blob([data], { type: contentType }); } - // Blob builder is deprecated in FF14 and removed in FF18. - var bb = new MozBlobBuilder(); - bb.append(data); - return bb.getBlob(contentType); + warn('The "Blob" constructor is not supported.'); }; var createObjectURL = (function createObjectURLClosure() { diff --git a/package.json b/package.json index 02b01058c..886310f35 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "pdfjs-dist", - "version": "1.5.330", + "version": "1.5.332", "main": "build/pdf.js", "description": "Generic build of Mozilla's PDF.js library.", "keywords": [