Browse Source

PDF.js version 1.0.635

master v1.0.635
Yury Delendik 10 years ago
parent
commit
d54c2d3785
  1. 2
      bower.json
  2. 4
      build/pdf.combined.js
  3. 4
      build/pdf.js
  4. 4
      build/pdf.worker.js
  5. 2
      package.json
  6. 6
      web/compatibility.js

2
bower.json

@ -1,6 +1,6 @@ @@ -1,6 +1,6 @@
{
"name": "pdfjs-dist",
"version": "1.0.633",
"version": "1.0.635",
"keywords": [
"Mozilla",
"pdf",

4
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.0.633';
PDFJS.build = '4ce1b1e';
PDFJS.version = '1.0.635';
PDFJS.build = '5e18614';
(function pdfjsWrapper() {
// Use strict in our context only - users might not want it

4
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.0.633';
PDFJS.build = '4ce1b1e';
PDFJS.version = '1.0.635';
PDFJS.build = '5e18614';
(function pdfjsWrapper() {
// Use strict in our context only - users might not want it

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.0.633';
PDFJS.build = '4ce1b1e';
PDFJS.version = '1.0.635';
PDFJS.build = '5e18614';
(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.0.633",
"version": "1.0.635",
"description": "Generic build of Mozilla's PDF.js library.",
"keywords": [
"Mozilla",

6
web/compatibility.js

@ -171,7 +171,11 @@ if (typeof PDFJS === 'undefined') { @@ -171,7 +171,11 @@ if (typeof PDFJS === 'undefined') {
if (typeof VBArray !== 'undefined') {
Object.defineProperty(xhrPrototype, 'response', {
get: function xmlHttpRequestResponseGet() {
return new Uint8Array(new VBArray(this.responseBody).toArray());
if (this.responseType === 'arraybuffer') {
return new Uint8Array(new VBArray(this.responseBody).toArray());
} else {
return this.responseText;
}
}
});
return;

Loading…
Cancel
Save