Comparing version 0.3.1 to 0.3.2
@@ -87,3 +87,4 @@ var nodeUtil = require("util"), | ||
this.viewport = this.pdfPage.getViewport(this.scale, 0); | ||
//leave out the 2nd parameter in order to use page's default rotation (for both portrait and landscape form) | ||
this.viewport = this.pdfPage.getViewport(this.scale); | ||
@@ -310,3 +311,3 @@ this.renderingState = RenderingStates.INITIAL; | ||
if (id == self.pdfDocument.numPages - 1) { | ||
if (id === (self.pdfDocument.numPages - 1) ) { | ||
nodeUtil._logN.call(self, "complete parsing page:" + (id+1)); | ||
@@ -313,0 +314,0 @@ self.emit("pdfjs_parseDataReady", {Pages:self.pages, Width: self.pageWidth}); |
{ | ||
"name": "pdf2json", | ||
"_id": "pdf2json@0.3.1", | ||
"version": "0.3.1", | ||
"_id": "pdf2json@0.3.2", | ||
"version": "0.3.2", | ||
"description": "A PDF file parser that converts PDF binaries to text based JSON, powered by porting a fork of PDF.JS to Node.js", | ||
@@ -6,0 +6,0 @@ "keywords": [ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3252539
35648