Browse Source

PDF.js version 1.4.265 - See mozilla/pdf.js@4aac324558829e26020c0fa4d56efb37b8599ad5

Pdf Bot 9 years ago
parent
commit
09d821d54d
6 changed files with 9 additions and 10 deletions
  1. 1 1
      bower.json
  2. 2 2
      build/pdf.combined.js
  3. 2 2
      build/pdf.js
  4. 2 2
      build/pdf.worker.js
  5. 1 1
      package.json
  6. 1 2
      web/pdf_viewer.js

+ 1 - 1
bower.json

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

+ 2 - 2
build/pdf.combined.js

@@ -28,8 +28,8 @@ factory((root.pdfjsDistBuildPdfCombined = {}));
   // Use strict in our context only - users might not want it
   // Use strict in our context only - users might not want it
   'use strict';
   'use strict';
 
 
-var pdfjsVersion = '1.4.263';
-var pdfjsBuild = 'd5c0008';
+var pdfjsVersion = '1.4.265';
+var pdfjsBuild = '4aac324';
 
 
   var pdfjsFilePath =
   var pdfjsFilePath =
     typeof document !== 'undefined' && document.currentScript ?
     typeof document !== 'undefined' && document.currentScript ?

+ 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 in our context only - users might not want it
   'use strict';
   'use strict';
 
 
-var pdfjsVersion = '1.4.263';
-var pdfjsBuild = 'd5c0008';
+var pdfjsVersion = '1.4.265';
+var pdfjsBuild = '4aac324';
 
 
   var pdfjsFilePath =
   var pdfjsFilePath =
     typeof document !== 'undefined' && document.currentScript ?
     typeof document !== 'undefined' && document.currentScript ?

+ 2 - 2
build/pdf.worker.js

@@ -28,8 +28,8 @@ factory((root.pdfjsDistBuildPdfWorker = {}));
   // Use strict in our context only - users might not want it
   // Use strict in our context only - users might not want it
   'use strict';
   'use strict';
 
 
-var pdfjsVersion = '1.4.263';
-var pdfjsBuild = 'd5c0008';
+var pdfjsVersion = '1.4.265';
+var pdfjsBuild = '4aac324';
 
 
   var pdfjsFilePath =
   var pdfjsFilePath =
     typeof document !== 'undefined' && document.currentScript ?
     typeof document !== 'undefined' && document.currentScript ?

+ 1 - 1
package.json

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

+ 1 - 2
web/pdf_viewer.js

@@ -2343,7 +2343,7 @@ var PDFPageView = (function PDFPageViewClosure() {
       return promise;
       return promise;
     },
     },
 
 
-    beforePrint: function PDFPageView_beforePrint() {
+    beforePrint: function PDFPageView_beforePrint(printContainer) {
       var CustomStyle = pdfjsLib.CustomStyle;
       var CustomStyle = pdfjsLib.CustomStyle;
       var pdfPage = this.pdfPage;
       var pdfPage = this.pdfPage;
 
 
@@ -2365,7 +2365,6 @@ var PDFPageView = (function PDFPageViewClosure() {
       CustomStyle.setProp('transform' , canvas, cssScale);
       CustomStyle.setProp('transform' , canvas, cssScale);
       CustomStyle.setProp('transformOrigin' , canvas, '0% 0%');
       CustomStyle.setProp('transformOrigin' , canvas, '0% 0%');
 
 
-      var printContainer = document.getElementById('printContainer');
       var canvasWrapper = document.createElement('div');
       var canvasWrapper = document.createElement('div');
       canvasWrapper.appendChild(canvas);
       canvasWrapper.appendChild(canvas);
       printContainer.appendChild(canvasWrapper);
       printContainer.appendChild(canvasWrapper);