Bläddra i källkod

PDF.js version 1.1.379

Pdf Bot 9 år sedan
förälder
incheckning
97d30f8f00
5 ändrade filer med 10 tillägg och 10 borttagningar
  1. 1 1
      bower.json
  2. 3 3
      build/pdf.combined.js
  3. 3 3
      build/pdf.js
  4. 2 2
      build/pdf.worker.js
  5. 1 1
      package.json

+ 1 - 1
bower.json

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

+ 3 - 3
build/pdf.combined.js

@@ -22,8 +22,8 @@ if (typeof PDFJS === 'undefined') {
   (typeof window !== 'undefined' ? window : this).PDFJS = {};
 }
 
-PDFJS.version = '1.1.377';
-PDFJS.build = '00b798d';
+PDFJS.version = '1.1.379';
+PDFJS.build = '8bc8eb1';
 
 (function pdfjsWrapper() {
   // Use strict in our context only - users might not want it
@@ -5729,7 +5729,7 @@ var WebGLUtils = (function WebGLUtilsClosure() {
           for (var j = 0, jj = ps.length; j < jj; j++) {
             coords[pIndex] = coordsMap[ps[j]];
             coords[pIndex + 1] = coordsMap[ps[j] + 1];
-            colors[cIndex] = colorsMap[cs[i]];
+            colors[cIndex] = colorsMap[cs[j]];
             colors[cIndex + 1] = colorsMap[cs[j] + 1];
             colors[cIndex + 2] = colorsMap[cs[j] + 2];
             pIndex += 2;

+ 3 - 3
build/pdf.js

@@ -22,8 +22,8 @@ if (typeof PDFJS === 'undefined') {
   (typeof window !== 'undefined' ? window : this).PDFJS = {};
 }
 
-PDFJS.version = '1.1.377';
-PDFJS.build = '00b798d';
+PDFJS.version = '1.1.379';
+PDFJS.build = '8bc8eb1';
 
 (function pdfjsWrapper() {
   // Use strict in our context only - users might not want it
@@ -5773,7 +5773,7 @@ var WebGLUtils = (function WebGLUtilsClosure() {
           for (var j = 0, jj = ps.length; j < jj; j++) {
             coords[pIndex] = coordsMap[ps[j]];
             coords[pIndex + 1] = coordsMap[ps[j] + 1];
-            colors[cIndex] = colorsMap[cs[i]];
+            colors[cIndex] = colorsMap[cs[j]];
             colors[cIndex + 1] = colorsMap[cs[j] + 1];
             colors[cIndex + 2] = colorsMap[cs[j] + 2];
             pIndex += 2;

+ 2 - 2
build/pdf.worker.js

@@ -22,8 +22,8 @@ if (typeof PDFJS === 'undefined') {
   (typeof window !== 'undefined' ? window : this).PDFJS = {};
 }
 
-PDFJS.version = '1.1.377';
-PDFJS.build = '00b798d';
+PDFJS.version = '1.1.379';
+PDFJS.build = '8bc8eb1';
 
 (function pdfjsWrapper() {
   // Use strict in our context only - users might not want it

+ 1 - 1
package.json

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