Pārlūkot izejas kodu

PDF.js version 1.0.300

Yury Delendik 10 gadi atpakaļ
vecāks
revīzija
a87ee8b061
5 mainītis faili ar 14 papildinājumiem un 8 dzēšanām
  1. 1 1
      bower.json
  2. 5 2
      build/pdf.combined.js
  3. 2 2
      build/pdf.js
  4. 5 2
      build/pdf.worker.js
  5. 1 1
      package.json

+ 1 - 1
bower.json

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

+ 5 - 2
build/pdf.combined.js

@@ -21,8 +21,8 @@ if (typeof PDFJS === 'undefined') {
   (typeof window !== 'undefined' ? window : this).PDFJS = {};
 }
 
-PDFJS.version = '1.0.298';
-PDFJS.build = '75e1158';
+PDFJS.version = '1.0.300';
+PDFJS.build = '9308b52';
 
 (function pdfjsWrapper() {
   // Use strict in our context only - users might not want it
@@ -42939,6 +42939,9 @@ var JpegImage = (function jpegImage() {
     }
 
     function receiveAndExtend(length) {
+      if (length === 1) {
+        return readBit() === 1 ? 1 : -1;
+      }
       var n = receive(length);
       if (n >= 1 << (length - 1)) {
         return n;

+ 2 - 2
build/pdf.js

@@ -21,8 +21,8 @@ if (typeof PDFJS === 'undefined') {
   (typeof window !== 'undefined' ? window : this).PDFJS = {};
 }
 
-PDFJS.version = '1.0.298';
-PDFJS.build = '75e1158';
+PDFJS.version = '1.0.300';
+PDFJS.build = '9308b52';
 
 (function pdfjsWrapper() {
   // Use strict in our context only - users might not want it

+ 5 - 2
build/pdf.worker.js

@@ -21,8 +21,8 @@ if (typeof PDFJS === 'undefined') {
   (typeof window !== 'undefined' ? window : this).PDFJS = {};
 }
 
-PDFJS.version = '1.0.298';
-PDFJS.build = '75e1158';
+PDFJS.version = '1.0.300';
+PDFJS.build = '9308b52';
 
 (function pdfjsWrapper() {
   // Use strict in our context only - users might not want it
@@ -38432,6 +38432,9 @@ var JpegImage = (function jpegImage() {
     }
 
     function receiveAndExtend(length) {
+      if (length === 1) {
+        return readBit() === 1 ? 1 : -1;
+      }
       var n = receive(length);
       if (n >= 1 << (length - 1)) {
         return n;

+ 1 - 1
package.json

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