Browse Source

PDF.js version 1.4.239 - See mozilla/pdf.js@5c17df9f07116f45b5e2c8689128d1365a60823a

master v1.4.239
Pdf Bot 9 years ago
parent
commit
aa381e8f8e
  1. 2
      bower.json
  2. 8
      build/pdf.combined.js
  3. 4
      build/pdf.js
  4. 8
      build/pdf.worker.js
  5. 2
      package.json

2
bower.json

@ -1,6 +1,6 @@
{ {
"name": "pdfjs-dist", "name": "pdfjs-dist",
"version": "1.4.237", "version": "1.4.239",
"main": [ "main": [
"build/pdf.js", "build/pdf.js",
"build/pdf.worker.js" "build/pdf.worker.js"

8
build/pdf.combined.js

@ -28,8 +28,8 @@ factory((root.pdfjsDistBuildPdfCombined = {}));
// Use strict in our context only - users might not want it // Use strict in our context only - users might not want it
'use strict'; 'use strict';
var pdfjsVersion = '1.4.237'; var pdfjsVersion = '1.4.239';
var pdfjsBuild = 'e9dbb23'; var pdfjsBuild = '5c17df9';
var pdfjsFilePath = var pdfjsFilePath =
typeof document !== 'undefined' && document.currentScript ? typeof document !== 'undefined' && document.currentScript ?
@ -21589,6 +21589,7 @@ var createObjectURL = sharedUtil.createObjectURL;
var shadow = sharedUtil.shadow; var shadow = sharedUtil.shadow;
var warn = sharedUtil.warn; var warn = sharedUtil.warn;
var Dict = corePrimitives.Dict; var Dict = corePrimitives.Dict;
var isDict = corePrimitives.isDict;
var Jbig2Image = coreJbig2.Jbig2Image; var Jbig2Image = coreJbig2.Jbig2Image;
var JpegImage = coreJpg.JpegImage; var JpegImage = coreJpg.JpegImage;
var JpxImage = coreJpx.JpxImage; var JpxImage = coreJpx.JpxImage;
@ -22230,6 +22231,9 @@ var FlateStream = (function FlateStreamClosure() {
var PredictorStream = (function PredictorStreamClosure() { var PredictorStream = (function PredictorStreamClosure() {
function PredictorStream(str, maybeLength, params) { function PredictorStream(str, maybeLength, params) {
if (!isDict(params)) {
return str; // no prediction
}
var predictor = this.predictor = params.get('Predictor') || 1; var predictor = this.predictor = params.get('Predictor') || 1;
if (predictor <= 1) { if (predictor <= 1) {

4
build/pdf.js

@ -28,8 +28,8 @@ factory((root.pdfjsDistBuildPdf = {}));
// Use strict in our context only - users might not want it // Use strict in our context only - users might not want it
'use strict'; 'use strict';
var pdfjsVersion = '1.4.237'; var pdfjsVersion = '1.4.239';
var pdfjsBuild = 'e9dbb23'; var pdfjsBuild = '5c17df9';
var pdfjsFilePath = var pdfjsFilePath =
typeof document !== 'undefined' && document.currentScript ? typeof document !== 'undefined' && document.currentScript ?

8
build/pdf.worker.js vendored

@ -28,8 +28,8 @@ factory((root.pdfjsDistBuildPdfWorker = {}));
// Use strict in our context only - users might not want it // Use strict in our context only - users might not want it
'use strict'; 'use strict';
var pdfjsVersion = '1.4.237'; var pdfjsVersion = '1.4.239';
var pdfjsBuild = 'e9dbb23'; var pdfjsBuild = '5c17df9';
var pdfjsFilePath = var pdfjsFilePath =
typeof document !== 'undefined' && document.currentScript ? typeof document !== 'undefined' && document.currentScript ?
@ -19709,6 +19709,7 @@ var createObjectURL = sharedUtil.createObjectURL;
var shadow = sharedUtil.shadow; var shadow = sharedUtil.shadow;
var warn = sharedUtil.warn; var warn = sharedUtil.warn;
var Dict = corePrimitives.Dict; var Dict = corePrimitives.Dict;
var isDict = corePrimitives.isDict;
var Jbig2Image = coreJbig2.Jbig2Image; var Jbig2Image = coreJbig2.Jbig2Image;
var JpegImage = coreJpg.JpegImage; var JpegImage = coreJpg.JpegImage;
var JpxImage = coreJpx.JpxImage; var JpxImage = coreJpx.JpxImage;
@ -20350,6 +20351,9 @@ var FlateStream = (function FlateStreamClosure() {
var PredictorStream = (function PredictorStreamClosure() { var PredictorStream = (function PredictorStreamClosure() {
function PredictorStream(str, maybeLength, params) { function PredictorStream(str, maybeLength, params) {
if (!isDict(params)) {
return str; // no prediction
}
var predictor = this.predictor = params.get('Predictor') || 1; var predictor = this.predictor = params.get('Predictor') || 1;
if (predictor <= 1) { if (predictor <= 1) {

2
package.json

@ -1,6 +1,6 @@
{ {
"name": "pdfjs-dist", "name": "pdfjs-dist",
"version": "1.4.237", "version": "1.4.239",
"main": "build/pdf.js", "main": "build/pdf.js",
"description": "Generic build of Mozilla's PDF.js library.", "description": "Generic build of Mozilla's PDF.js library.",
"keywords": [ "keywords": [

Loading…
Cancel
Save