Browse Source

PDF.js version 1.6.322 - See mozilla/pdf.js@043cea251df376122c4cd276d82bd8166863849c

master v1.6.322
Pdf Bot 8 years ago
parent
commit
0e0fbef97d
  1. 2
      bower.json
  2. 16
      build/pdf.combined.js
  3. 4
      build/pdf.js
  4. 16
      build/pdf.worker.js
  5. 2
      package.json

2
bower.json

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

16
build/pdf.combined.js

@ -23,8 +23,8 @@
} }
}(this, function (exports) { }(this, function (exports) {
'use strict'; 'use strict';
var pdfjsVersion = '1.6.320'; var pdfjsVersion = '1.6.322';
var pdfjsBuild = '7f678e3'; var pdfjsBuild = '043cea2';
var pdfjsFilePath = typeof document !== 'undefined' && document.currentScript ? document.currentScript.src : null; var pdfjsFilePath = typeof document !== 'undefined' && document.currentScript ? document.currentScript.src : null;
var pdfjsLibs = {}; var pdfjsLibs = {};
(function pdfjsWrapper() { (function pdfjsWrapper() {
@ -54060,7 +54060,7 @@
argsLength--; argsLength--;
} }
while (argsLength < numArgs && nonProcessedArgs.length !== 0) { while (argsLength < numArgs && nonProcessedArgs.length !== 0) {
if (!args) { if (args === null) {
args = []; args = [];
} }
args.unshift(nonProcessedArgs.pop()); args.unshift(nonProcessedArgs.pop());
@ -54068,12 +54068,14 @@
} }
} }
if (argsLength < numArgs) { if (argsLength < numArgs) {
info('Command ' + fn + ': because expected ' + numArgs + ' args, but received ' + argsLength + ' args; skipping'); warn('Skipping command ' + fn + ': expected ' + numArgs + ' args, but received ' + argsLength + ' args.');
args = null; if (args !== null) {
args.length = 0;
}
continue; continue;
} }
} else if (argsLength > numArgs) { } else if (argsLength > numArgs) {
info('Command ' + fn + ': expected [0,' + numArgs + '] args, but received ' + argsLength + ' args'); info('Command ' + fn + ': expected [0,' + numArgs + '] args, but received ' + argsLength + ' args.');
} }
this.preprocessCommand(fn, args); this.preprocessCommand(fn, args);
operation.fn = fn; operation.fn = fn;
@ -54084,7 +54086,7 @@
return false; return false;
} }
if (obj !== null) { if (obj !== null) {
if (!args) { if (args === null) {
args = []; args = [];
} }
args.push(obj); args.push(obj);

4
build/pdf.js

@ -23,8 +23,8 @@
} }
}(this, function (exports) { }(this, function (exports) {
'use strict'; 'use strict';
var pdfjsVersion = '1.6.320'; var pdfjsVersion = '1.6.322';
var pdfjsBuild = '7f678e3'; var pdfjsBuild = '043cea2';
var pdfjsFilePath = typeof document !== 'undefined' && document.currentScript ? document.currentScript.src : null; var pdfjsFilePath = typeof document !== 'undefined' && document.currentScript ? document.currentScript.src : null;
var pdfjsLibs = {}; var pdfjsLibs = {};
(function pdfjsWrapper() { (function pdfjsWrapper() {

16
build/pdf.worker.js vendored

@ -23,8 +23,8 @@
} }
}(this, function (exports) { }(this, function (exports) {
'use strict'; 'use strict';
var pdfjsVersion = '1.6.320'; var pdfjsVersion = '1.6.322';
var pdfjsBuild = '7f678e3'; var pdfjsBuild = '043cea2';
var pdfjsFilePath = typeof document !== 'undefined' && document.currentScript ? document.currentScript.src : null; var pdfjsFilePath = typeof document !== 'undefined' && document.currentScript ? document.currentScript.src : null;
var pdfjsLibs = {}; var pdfjsLibs = {};
(function pdfjsWrapper() { (function pdfjsWrapper() {
@ -47447,7 +47447,7 @@
argsLength--; argsLength--;
} }
while (argsLength < numArgs && nonProcessedArgs.length !== 0) { while (argsLength < numArgs && nonProcessedArgs.length !== 0) {
if (!args) { if (args === null) {
args = []; args = [];
} }
args.unshift(nonProcessedArgs.pop()); args.unshift(nonProcessedArgs.pop());
@ -47455,12 +47455,14 @@
} }
} }
if (argsLength < numArgs) { if (argsLength < numArgs) {
info('Command ' + fn + ': because expected ' + numArgs + ' args, but received ' + argsLength + ' args; skipping'); warn('Skipping command ' + fn + ': expected ' + numArgs + ' args, but received ' + argsLength + ' args.');
args = null; if (args !== null) {
args.length = 0;
}
continue; continue;
} }
} else if (argsLength > numArgs) { } else if (argsLength > numArgs) {
info('Command ' + fn + ': expected [0,' + numArgs + '] args, but received ' + argsLength + ' args'); info('Command ' + fn + ': expected [0,' + numArgs + '] args, but received ' + argsLength + ' args.');
} }
this.preprocessCommand(fn, args); this.preprocessCommand(fn, args);
operation.fn = fn; operation.fn = fn;
@ -47471,7 +47473,7 @@
return false; return false;
} }
if (obj !== null) { if (obj !== null) {
if (!args) { if (args === null) {
args = []; args = [];
} }
args.push(obj); args.push(obj);

2
package.json

@ -1,6 +1,6 @@
{ {
"name": "pdfjs-dist", "name": "pdfjs-dist",
"version": "1.6.320", "version": "1.6.322",
"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