Browse Source

PDF.js version 1.1.397

master v1.1.397
Pdf Bot 10 years ago
parent
commit
0b748056b3
  1. 2
      bower.json
  2. 6
      build/pdf.combined.js
  3. 6
      build/pdf.js
  4. 4
      build/pdf.worker.js
  5. 2
      package.json

2
bower.json

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

6
build/pdf.combined.js

@ -22,8 +22,8 @@ if (typeof PDFJS === 'undefined') { @@ -22,8 +22,8 @@ if (typeof PDFJS === 'undefined') {
(typeof window !== 'undefined' ? window : this).PDFJS = {};
}
PDFJS.version = '1.1.395';
PDFJS.build = '78dbf56';
PDFJS.version = '1.1.397';
PDFJS.build = 'b11bc72';
(function pdfjsWrapper() {
// Use strict in our context only - users might not want it
@ -1873,6 +1873,8 @@ PDFJS.getDocument = function getDocument(src, @@ -1873,6 +1873,8 @@ PDFJS.getDocument = function getDocument(src,
} else if (typeof pdfBytes === 'object' && pdfBytes !== null &&
!isNaN(pdfBytes.length)) {
params[key] = new Uint8Array(pdfBytes);
} else if (isArrayBuffer(pdfBytes)) {
params[key] = new Uint8Array(pdfBytes);
} else {
error('Invalid PDF binary data: either typed array, string or ' +
'array-like object is expected in the data property.');

6
build/pdf.js

@ -22,8 +22,8 @@ if (typeof PDFJS === 'undefined') { @@ -22,8 +22,8 @@ if (typeof PDFJS === 'undefined') {
(typeof window !== 'undefined' ? window : this).PDFJS = {};
}
PDFJS.version = '1.1.395';
PDFJS.build = '78dbf56';
PDFJS.version = '1.1.397';
PDFJS.build = 'b11bc72';
(function pdfjsWrapper() {
// Use strict in our context only - users might not want it
@ -1873,6 +1873,8 @@ PDFJS.getDocument = function getDocument(src, @@ -1873,6 +1873,8 @@ PDFJS.getDocument = function getDocument(src,
} else if (typeof pdfBytes === 'object' && pdfBytes !== null &&
!isNaN(pdfBytes.length)) {
params[key] = new Uint8Array(pdfBytes);
} else if (isArrayBuffer(pdfBytes)) {
params[key] = new Uint8Array(pdfBytes);
} else {
error('Invalid PDF binary data: either typed array, string or ' +
'array-like object is expected in the data property.');

4
build/pdf.worker.js vendored

@ -22,8 +22,8 @@ if (typeof PDFJS === 'undefined') { @@ -22,8 +22,8 @@ if (typeof PDFJS === 'undefined') {
(typeof window !== 'undefined' ? window : this).PDFJS = {};
}
PDFJS.version = '1.1.395';
PDFJS.build = '78dbf56';
PDFJS.version = '1.1.397';
PDFJS.build = 'b11bc72';
(function pdfjsWrapper() {
// Use strict in our context only - users might not want it

2
package.json

@ -1,6 +1,6 @@ @@ -1,6 +1,6 @@
{
"name": "pdfjs-dist",
"version": "1.1.395",
"version": "1.1.397",
"description": "Generic build of Mozilla's PDF.js library.",
"keywords": [
"Mozilla",

Loading…
Cancel
Save