Bläddra i källkod

PDF.js version 1.0.1154

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

+ 1 - 1
bower.json

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

+ 4 - 4
build/pdf.combined.js

@@ -22,8 +22,8 @@ if (typeof PDFJS === 'undefined') {
   (typeof window !== 'undefined' ? window : this).PDFJS = {};
 }
 
-PDFJS.version = '1.0.1152';
-PDFJS.build = 'ec7bab6';
+PDFJS.version = '1.0.1154';
+PDFJS.build = '23916b2';
 
 (function pdfjsWrapper() {
   // Use strict in our context only - users might not want it
@@ -13104,10 +13104,10 @@ var ColorSpace = (function ColorSpaceClosure() {
         case 'CMYK':
           return 'DeviceCmykCS';
         case 'CalGray':
-          params = cs[1].getAll();
+          params = xref.fetchIfRef(cs[1]).getAll();
           return ['CalGrayCS', params];
         case 'CalRGB':
-          params = cs[1].getAll();
+          params = xref.fetchIfRef(cs[1]).getAll();
           return ['CalRGBCS', params];
         case 'ICCBased':
           var stream = xref.fetchIfRef(cs[1]);

+ 2 - 2
build/pdf.js

@@ -22,8 +22,8 @@ if (typeof PDFJS === 'undefined') {
   (typeof window !== 'undefined' ? window : this).PDFJS = {};
 }
 
-PDFJS.version = '1.0.1152';
-PDFJS.build = 'ec7bab6';
+PDFJS.version = '1.0.1154';
+PDFJS.build = '23916b2';
 
 (function pdfjsWrapper() {
   // Use strict in our context only - users might not want it

+ 4 - 4
build/pdf.worker.js

@@ -22,8 +22,8 @@ if (typeof PDFJS === 'undefined') {
   (typeof window !== 'undefined' ? window : this).PDFJS = {};
 }
 
-PDFJS.version = '1.0.1152';
-PDFJS.build = 'ec7bab6';
+PDFJS.version = '1.0.1154';
+PDFJS.build = '23916b2';
 
 (function pdfjsWrapper() {
   // Use strict in our context only - users might not want it
@@ -6779,10 +6779,10 @@ var ColorSpace = (function ColorSpaceClosure() {
         case 'CMYK':
           return 'DeviceCmykCS';
         case 'CalGray':
-          params = cs[1].getAll();
+          params = xref.fetchIfRef(cs[1]).getAll();
           return ['CalGrayCS', params];
         case 'CalRGB':
-          params = cs[1].getAll();
+          params = xref.fetchIfRef(cs[1]).getAll();
           return ['CalRGBCS', params];
         case 'ICCBased':
           var stream = xref.fetchIfRef(cs[1]);

+ 1 - 1
package.json

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