فهرست منبع

PDF.js version 1.4.37 - See mozilla/pdf.js@a4b90243d0c7b825a7a549440c701073d3725d9f

Pdf Bot 9 سال پیش
والد
کامیت
58ca50d0fb
5فایلهای تغییر یافته به همراه10 افزوده شده و 16 حذف شده
  1. 1 1
      bower.json
  2. 3 6
      build/pdf.combined.js
  3. 2 2
      build/pdf.js
  4. 3 6
      build/pdf.worker.js
  5. 1 1
      package.json

+ 1 - 1
bower.json

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

+ 3 - 6
build/pdf.combined.js

@@ -28,8 +28,8 @@ factory((root.pdfjsDistBuildPdfCombined = {}));
   // Use strict in our context only - users might not want it
   'use strict';
 
-var pdfjsVersion = '1.4.35';
-var pdfjsBuild = '5d797e1';
+var pdfjsVersion = '1.4.37';
+var pdfjsBuild = 'a4b9024';
 
   var pdfjsFilePath =
     typeof document !== 'undefined' && document.currentScript ?
@@ -46410,14 +46410,11 @@ var PartialEvaluator = (function PartialEvaluatorClosure() {
             var diffEncoding = encoding.get('Differences');
             var index = 0;
             for (var j = 0, jj = diffEncoding.length; j < jj; j++) {
-              var data = diffEncoding[j];
+              var data = xref.fetchIfRef(diffEncoding[j]);
               if (isNum(data)) {
                 index = data;
               } else if (isName(data)) {
                 differences[index++] = data.name;
-              } else if (isRef(data)) {
-                diffEncoding[j--] = xref.fetch(data);
-                continue;
               } else {
                 error('Invalid entry in \'Differences\' array: ' + data);
               }

+ 2 - 2
build/pdf.js

@@ -28,8 +28,8 @@ factory((root.pdfjsDistBuildPdf = {}));
   // Use strict in our context only - users might not want it
   'use strict';
 
-var pdfjsVersion = '1.4.35';
-var pdfjsBuild = '5d797e1';
+var pdfjsVersion = '1.4.37';
+var pdfjsBuild = 'a4b9024';
 
   var pdfjsFilePath =
     typeof document !== 'undefined' && document.currentScript ?

+ 3 - 6
build/pdf.worker.js

@@ -28,8 +28,8 @@ factory((root.pdfjsDistBuildPdfWorker = {}));
   // Use strict in our context only - users might not want it
   'use strict';
 
-var pdfjsVersion = '1.4.35';
-var pdfjsBuild = '5d797e1';
+var pdfjsVersion = '1.4.37';
+var pdfjsBuild = 'a4b9024';
 
   var pdfjsFilePath =
     typeof document !== 'undefined' && document.currentScript ?
@@ -38569,14 +38569,11 @@ var PartialEvaluator = (function PartialEvaluatorClosure() {
             var diffEncoding = encoding.get('Differences');
             var index = 0;
             for (var j = 0, jj = diffEncoding.length; j < jj; j++) {
-              var data = diffEncoding[j];
+              var data = xref.fetchIfRef(diffEncoding[j]);
               if (isNum(data)) {
                 index = data;
               } else if (isName(data)) {
                 differences[index++] = data.name;
-              } else if (isRef(data)) {
-                diffEncoding[j--] = xref.fetch(data);
-                continue;
               } else {
                 error('Invalid entry in \'Differences\' array: ' + data);
               }

+ 1 - 1
package.json

@@ -1,6 +1,6 @@
 {
   "name": "pdfjs-dist",
-  "version": "1.4.35",
+  "version": "1.4.37",
   "main": "build/pdf.js",
   "description": "Generic build of Mozilla's PDF.js library.",
   "keywords": [