Selaa lähdekoodia

PDF.js version 1.3.158 - See mozilla/pdf.js@944d1e6dc5db0a113ee93648072f30a681b9b52b

Pdf Bot 9 vuotta sitten
vanhempi
sitoutus
a66b9328e8
5 muutettua tiedostoa jossa 12 lisäystä ja 16 poistoa
  1. 1 1
      bower.json
  2. 4 6
      build/pdf.combined.js
  3. 2 2
      build/pdf.js
  4. 4 6
      build/pdf.worker.js
  5. 1 1
      package.json

+ 1 - 1
bower.json

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

+ 4 - 6
build/pdf.combined.js

@@ -21,8 +21,8 @@ if (typeof PDFJS === 'undefined') {
    typeof global !== 'undefined' ? global : this).PDFJS = {};
 }
 
-PDFJS.version = '1.3.156';
-PDFJS.build = '3f19b3f';
+PDFJS.version = '1.3.158';
+PDFJS.build = '944d1e6';
 
 (function pdfjsWrapper() {
   // Use strict in our context only - users might not want it
@@ -43069,10 +43069,8 @@ var Pattern = (function PatternClosure() {
 var Shadings = {};
 
 // A small number to offset the first/last color stops so we can insert ones to
-// support extend.  Number.MIN_VALUE appears to be too small and breaks the
-// extend. 1e-7 works in FF but chrome seems to use an even smaller sized number
-// internally so we have to go bigger.
-Shadings.SMALL_NUMBER = 1e-2;
+// support extend. Number.MIN_VALUE is too small and breaks the extend.
+Shadings.SMALL_NUMBER = 1e-6;
 
 // Radial and axial shading have very similar implementations
 // If needed, the implementations can be broken into two classes

+ 2 - 2
build/pdf.js

@@ -21,8 +21,8 @@ if (typeof PDFJS === 'undefined') {
    typeof global !== 'undefined' ? global : this).PDFJS = {};
 }
 
-PDFJS.version = '1.3.156';
-PDFJS.build = '3f19b3f';
+PDFJS.version = '1.3.158';
+PDFJS.build = '944d1e6';
 
 (function pdfjsWrapper() {
   // Use strict in our context only - users might not want it

+ 4 - 6
build/pdf.worker.js

@@ -21,8 +21,8 @@ if (typeof PDFJS === 'undefined') {
    typeof global !== 'undefined' ? global : this).PDFJS = {};
 }
 
-PDFJS.version = '1.3.156';
-PDFJS.build = '3f19b3f';
+PDFJS.version = '1.3.158';
+PDFJS.build = '944d1e6';
 
 (function pdfjsWrapper() {
   // Use strict in our context only - users might not want it
@@ -35255,10 +35255,8 @@ var Pattern = (function PatternClosure() {
 var Shadings = {};
 
 // A small number to offset the first/last color stops so we can insert ones to
-// support extend.  Number.MIN_VALUE appears to be too small and breaks the
-// extend. 1e-7 works in FF but chrome seems to use an even smaller sized number
-// internally so we have to go bigger.
-Shadings.SMALL_NUMBER = 1e-2;
+// support extend. Number.MIN_VALUE is too small and breaks the extend.
+Shadings.SMALL_NUMBER = 1e-6;
 
 // Radial and axial shading have very similar implementations
 // If needed, the implementations can be broken into two classes

+ 1 - 1
package.json

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