Răsfoiți Sursa

PDF.js version 1.0.966

Pdf Bot 10 ani în urmă
părinte
comite
ae4d52118b
5 a modificat fișierele cu 10 adăugiri și 10 ștergeri
  1. 1 1
      bower.json
  2. 3 3
      build/pdf.combined.js
  3. 2 2
      build/pdf.js
  4. 3 3
      build/pdf.worker.js
  5. 1 1
      package.json

+ 1 - 1
bower.json

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

+ 3 - 3
build/pdf.combined.js

@@ -22,8 +22,8 @@ if (typeof PDFJS === 'undefined') {
   (typeof window !== 'undefined' ? window : this).PDFJS = {};
 }
 
-PDFJS.version = '1.0.964';
-PDFJS.build = '37fe1d1';
+PDFJS.version = '1.0.966';
+PDFJS.build = '8a6cc44';
 
 (function pdfjsWrapper() {
   // Use strict in our context only - users might not want it
@@ -16876,7 +16876,7 @@ var PartialEvaluator = (function PartialEvaluatorClosure() {
           var imgData = imageObj.createImageData(/* forceRGBA = */ false);
           self.handler.send('obj', [objId, self.pageIndex, 'Image', imgData],
             [imgData.data.buffer]);
-        }).then(null, function (reason) {
+        }).then(undefined, function (reason) {
           warn('Unable to decode image: ' + reason);
           self.handler.send('obj', [objId, self.pageIndex, 'Image', null]);
         });

+ 2 - 2
build/pdf.js

@@ -22,8 +22,8 @@ if (typeof PDFJS === 'undefined') {
   (typeof window !== 'undefined' ? window : this).PDFJS = {};
 }
 
-PDFJS.version = '1.0.964';
-PDFJS.build = '37fe1d1';
+PDFJS.version = '1.0.966';
+PDFJS.build = '8a6cc44';
 
 (function pdfjsWrapper() {
   // Use strict in our context only - users might not want it

+ 3 - 3
build/pdf.worker.js

@@ -22,8 +22,8 @@ if (typeof PDFJS === 'undefined') {
   (typeof window !== 'undefined' ? window : this).PDFJS = {};
 }
 
-PDFJS.version = '1.0.964';
-PDFJS.build = '37fe1d1';
+PDFJS.version = '1.0.966';
+PDFJS.build = '8a6cc44';
 
 (function pdfjsWrapper() {
   // Use strict in our context only - users might not want it
@@ -10749,7 +10749,7 @@ var PartialEvaluator = (function PartialEvaluatorClosure() {
           var imgData = imageObj.createImageData(/* forceRGBA = */ false);
           self.handler.send('obj', [objId, self.pageIndex, 'Image', imgData],
             [imgData.data.buffer]);
-        }).then(null, function (reason) {
+        }).then(undefined, function (reason) {
           warn('Unable to decode image: ' + reason);
           self.handler.send('obj', [objId, self.pageIndex, 'Image', null]);
         });

+ 1 - 1
package.json

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