mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-10 02:05:37 +02:00
Merge pull request #4577 from timvandermeij/reporter
Removes custom test/reporter.js from the lint process
This commit is contained in:
commit
2c61f60a4e
34 changed files with 761 additions and 707 deletions
|
@ -348,7 +348,7 @@ var PageView = function pageView(container, id, scale,
|
|||
|
||||
var x = 0, y = 0;
|
||||
var width = 0, height = 0, widthScale, heightScale;
|
||||
var changeOrientation = !!(this.rotation % 180);
|
||||
var changeOrientation = (this.rotation % 180 === 0 ? false : true);
|
||||
var pageWidth = (changeOrientation ? this.height : this.width) /
|
||||
this.scale / CSS_UNITS;
|
||||
var pageHeight = (changeOrientation ? this.width : this.height) /
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue