Ver código fonte

PDF.js version 1.0.610

Yury Delendik 10 anos atrás
pai
commit
953b4daffe
5 arquivos alterados com 14 adições e 10 exclusões
  1. 1 1
      bower.json
  2. 5 3
      build/pdf.combined.js
  3. 2 2
      build/pdf.js
  4. 5 3
      build/pdf.worker.js
  5. 1 1
      package.json

+ 1 - 1
bower.json

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

+ 5 - 3
build/pdf.combined.js

@@ -22,8 +22,8 @@ if (typeof PDFJS === 'undefined') {
   (typeof window !== 'undefined' ? window : this).PDFJS = {};
 }
 
-PDFJS.version = '1.0.608';
-PDFJS.build = 'cbdaf85';
+PDFJS.version = '1.0.610';
+PDFJS.build = '3dce05f';
 
 (function pdfjsWrapper() {
   // Use strict in our context only - users might not want it
@@ -37027,6 +37027,8 @@ var CCITTFaxStream = (function CCITTFaxStreamClosure() {
         if (code1 === 1) {
           this.eatBits(12);
           gotEOL = true;
+        } else if (code1 === EOF) {
+          this.eof = true;
         }
       }
 
@@ -37039,7 +37041,7 @@ var CCITTFaxStream = (function CCITTFaxStreamClosure() {
         this.eatBits(1);
       }
 
-      if (this.eoblock && !this.eoline && this.byteAlign) {
+      if (this.eoblock && gotEOL && this.byteAlign) {
         code1 = this.lookBits(12);
         if (code1 === 1) {
           this.eatBits(12);

+ 2 - 2
build/pdf.js

@@ -22,8 +22,8 @@ if (typeof PDFJS === 'undefined') {
   (typeof window !== 'undefined' ? window : this).PDFJS = {};
 }
 
-PDFJS.version = '1.0.608';
-PDFJS.build = 'cbdaf85';
+PDFJS.version = '1.0.610';
+PDFJS.build = '3dce05f';
 
 (function pdfjsWrapper() {
   // Use strict in our context only - users might not want it

+ 5 - 3
build/pdf.worker.js

@@ -22,8 +22,8 @@ if (typeof PDFJS === 'undefined') {
   (typeof window !== 'undefined' ? window : this).PDFJS = {};
 }
 
-PDFJS.version = '1.0.608';
-PDFJS.build = 'cbdaf85';
+PDFJS.version = '1.0.610';
+PDFJS.build = '3dce05f';
 
 (function pdfjsWrapper() {
   // Use strict in our context only - users might not want it
@@ -32170,6 +32170,8 @@ var CCITTFaxStream = (function CCITTFaxStreamClosure() {
         if (code1 === 1) {
           this.eatBits(12);
           gotEOL = true;
+        } else if (code1 === EOF) {
+          this.eof = true;
         }
       }
 
@@ -32182,7 +32184,7 @@ var CCITTFaxStream = (function CCITTFaxStreamClosure() {
         this.eatBits(1);
       }
 
-      if (this.eoblock && !this.eoline && this.byteAlign) {
+      if (this.eoblock && gotEOL && this.byteAlign) {
         code1 = this.lookBits(12);
         if (code1 === 1) {
           this.eatBits(12);

+ 1 - 1
package.json

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