Pārlūkot izejas kodu

PDF.js version 1.4.33 - See mozilla/pdf.js@365bc99508a71a71252d10b38b6c404a34d4bba6

Pdf Bot 9 gadi atpakaļ
vecāks
revīzija
4372cffe50
5 mainītis faili ar 16 papildinājumiem un 16 dzēšanām
  1. 1 1
      bower.json
  2. 6 6
      build/pdf.combined.js
  3. 2 2
      build/pdf.js
  4. 6 6
      build/pdf.worker.js
  5. 1 1
      package.json

+ 1 - 1
bower.json

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

+ 6 - 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.31';
-var pdfjsBuild = '825a222';
+var pdfjsVersion = '1.4.33';
+var pdfjsBuild = '365bc99';
 
   var pdfjsFilePath =
     typeof document !== 'undefined' && document.currentScript ?
@@ -43928,10 +43928,10 @@ var PDFImage = (function PDFImageClosure() {
 
           imgArray = this.getImageBytes(originalHeight * rowBytes);
           // If imgArray came from a DecodeStream, we're safe to transfer it
-          // (and thus neuter it) because it will constitute the entire
-          // DecodeStream's data.  But if it came from a Stream, we need to
-          // copy it because it'll only be a portion of the Stream's data, and
-          // the rest will be read later on.
+          // (and thus detach its underlying buffer) because it will constitute
+          // the entire DecodeStream's data.  But if it came from a Stream, we
+          // need to copy it because it'll only be a portion of the Stream's
+          // data, and the rest will be read later on.
           if (this.image instanceof DecodeStream) {
             imgData.data = imgArray;
           } else {

+ 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.31';
-var pdfjsBuild = '825a222';
+var pdfjsVersion = '1.4.33';
+var pdfjsBuild = '365bc99';
 
   var pdfjsFilePath =
     typeof document !== 'undefined' && document.currentScript ?

+ 6 - 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.31';
-var pdfjsBuild = '825a222';
+var pdfjsVersion = '1.4.33';
+var pdfjsBuild = '365bc99';
 
   var pdfjsFilePath =
     typeof document !== 'undefined' && document.currentScript ?
@@ -36087,10 +36087,10 @@ var PDFImage = (function PDFImageClosure() {
 
           imgArray = this.getImageBytes(originalHeight * rowBytes);
           // If imgArray came from a DecodeStream, we're safe to transfer it
-          // (and thus neuter it) because it will constitute the entire
-          // DecodeStream's data.  But if it came from a Stream, we need to
-          // copy it because it'll only be a portion of the Stream's data, and
-          // the rest will be read later on.
+          // (and thus detach its underlying buffer) because it will constitute
+          // the entire DecodeStream's data.  But if it came from a Stream, we
+          // need to copy it because it'll only be a portion of the Stream's
+          // data, and the rest will be read later on.
           if (this.image instanceof DecodeStream) {
             imgData.data = imgArray;
           } else {

+ 1 - 1
package.json

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