Browse Source

PDF.js version 1.3.142 - See mozilla/pdf.js@e8db8255123dac16973004c24b529c598d24e781

master v1.3.142
Pdf Bot 9 years ago
parent
commit
f9757b4e3b
  1. 2
      bower.json
  2. 44916
      build/pdf.combined.js
  3. 11603
      build/pdf.js
  4. 5230
      build/pdf.worker.js
  5. 2
      package.json
  6. 5
      web/pdf_viewer.js

2
bower.json

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

44916
build/pdf.combined.js

File diff suppressed because it is too large Load Diff

11603
build/pdf.js

File diff suppressed because it is too large Load Diff

5230
build/pdf.worker.js vendored

File diff suppressed because it is too large Load Diff

2
package.json

@ -1,6 +1,6 @@
{ {
"name": "pdfjs-dist", "name": "pdfjs-dist",
"version": "1.3.137", "version": "1.3.142",
"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": [

5
web/pdf_viewer.js

@ -904,8 +904,6 @@ var TEXT_LAYER_RENDER_DELAY = 200; // ms
* @implements {IRenderableView} * @implements {IRenderableView}
*/ */
var PDFPageView = (function PDFPageViewClosure() { var PDFPageView = (function PDFPageViewClosure() {
var CustomStyle = PDFJS.CustomStyle;
/** /**
* @constructs PDFPageView * @constructs PDFPageView
* @param {PDFPageViewOptions} options * @param {PDFPageViewOptions} options
@ -1079,6 +1077,8 @@ var PDFPageView = (function PDFPageViewClosure() {
}, },
cssTransform: function PDFPageView_transform(canvas, redrawAnnotations) { cssTransform: function PDFPageView_transform(canvas, redrawAnnotations) {
var CustomStyle = PDFJS.CustomStyle;
// Scale canvas, canvas wrapper, and page container. // Scale canvas, canvas wrapper, and page container.
var width = this.viewport.width; var width = this.viewport.width;
var height = this.viewport.height; var height = this.viewport.height;
@ -1374,6 +1374,7 @@ var PDFPageView = (function PDFPageViewClosure() {
}, },
beforePrint: function PDFPageView_beforePrint() { beforePrint: function PDFPageView_beforePrint() {
var CustomStyle = PDFJS.CustomStyle;
var pdfPage = this.pdfPage; var pdfPage = this.pdfPage;
var viewport = pdfPage.getViewport(1); var viewport = pdfPage.getViewport(1);

Loading…
Cancel
Save