Browse Source

PDF.js version 1.1.260

master v1.1.260
Pdf Bot 10 years ago
parent
commit
3b3f6f744f
  1. 2
      bower.json
  2. 11
      build/pdf.combined.js
  3. 4
      build/pdf.js
  4. 11
      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.258",
"version": "1.1.260",
"main": [
"build/pdf.js",
"build/pdf.worker.js"

11
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.258';
PDFJS.build = '5aaf18d';
PDFJS.version = '1.1.260';
PDFJS.build = 'e5b7258';
(function pdfjsWrapper() {
// Use strict in our context only - users might not want it
@ -11465,6 +11465,13 @@ var Annotation = (function AnnotationClosure() { @@ -11465,6 +11465,13 @@ var Annotation = (function AnnotationClosure() {
this.borderStyle.setDashArray(array[3]);
}
}
} else {
// There are no border entries in the dictionary. According to the
// specification, we should draw a solid border of width 1 in that
// case, but Adobe Reader did not implement that part of the
// specification and instead draws no border at all, so we do the same.
// See also https://github.com/mozilla/pdf.js/issues/6179.
this.borderStyle.setWidth(0);
}
},

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.1.258';
PDFJS.build = '5aaf18d';
PDFJS.version = '1.1.260';
PDFJS.build = 'e5b7258';
(function pdfjsWrapper() {
// Use strict in our context only - users might not want it

11
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.258';
PDFJS.build = '5aaf18d';
PDFJS.version = '1.1.260';
PDFJS.build = 'e5b7258';
(function pdfjsWrapper() {
// Use strict in our context only - users might not want it
@ -5066,6 +5066,13 @@ var Annotation = (function AnnotationClosure() { @@ -5066,6 +5066,13 @@ var Annotation = (function AnnotationClosure() {
this.borderStyle.setDashArray(array[3]);
}
}
} else {
// There are no border entries in the dictionary. According to the
// specification, we should draw a solid border of width 1 in that
// case, but Adobe Reader did not implement that part of the
// specification and instead draws no border at all, so we do the same.
// See also https://github.com/mozilla/pdf.js/issues/6179.
this.borderStyle.setWidth(0);
}
},

2
package.json

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

Loading…
Cancel
Save