Sfoglia il codice sorgente

PDF.js version 1.0.286

Yury Delendik 10 anni fa
parent
commit
06418a1f70
5 ha cambiato i file con 12 aggiunte e 12 eliminazioni
  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.284",
+  "version": "1.0.286",
   "keywords": [
     "Mozilla",
     "pdf",

+ 4 - 4
build/pdf.combined.js

@@ -21,8 +21,8 @@ if (typeof PDFJS === 'undefined') {
   (typeof window !== 'undefined' ? window : this).PDFJS = {};
 }
 
-PDFJS.version = '1.0.284';
-PDFJS.build = '5ded0ea';
+PDFJS.version = '1.0.286';
+PDFJS.build = '3acf570';
 
 (function pdfjsWrapper() {
   // Use strict in our context only - users might not want it
@@ -22668,8 +22668,8 @@ var CMap = (function CMapClosure() {
     },
 
     mapRangeToArray: function(low, high, array) {
-      var i = 0;
-      while (low <= high) {
+      var i = 0, ii = array.length;
+      while (low <= high && i < ii) {
         this.map[low] = array[i++];
         ++low;
       }

+ 2 - 2
build/pdf.js

@@ -21,8 +21,8 @@ if (typeof PDFJS === 'undefined') {
   (typeof window !== 'undefined' ? window : this).PDFJS = {};
 }
 
-PDFJS.version = '1.0.284';
-PDFJS.build = '5ded0ea';
+PDFJS.version = '1.0.286';
+PDFJS.build = '3acf570';
 
 (function pdfjsWrapper() {
   // Use strict in our context only - users might not want it

+ 4 - 4
build/pdf.worker.js

@@ -21,8 +21,8 @@ if (typeof PDFJS === 'undefined') {
   (typeof window !== 'undefined' ? window : this).PDFJS = {};
 }
 
-PDFJS.version = '1.0.284';
-PDFJS.build = '5ded0ea';
+PDFJS.version = '1.0.286';
+PDFJS.build = '3acf570';
 
 (function pdfjsWrapper() {
   // Use strict in our context only - users might not want it
@@ -18161,8 +18161,8 @@ var CMap = (function CMapClosure() {
     },
 
     mapRangeToArray: function(low, high, array) {
-      var i = 0;
-      while (low <= high) {
+      var i = 0, ii = array.length;
+      while (low <= high && i < ii) {
         this.map[low] = array[i++];
         ++low;
       }

+ 1 - 1
package.json

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