|
@@ -26,7 +26,7 @@
|
|
|
'use strict';
|
|
|
|
|
|
var DEFAULT_URL = 'compressed.tracemonkey-pldi-09.pdf';
|
|
|
-var DEFAULT_SCALE_DELTA = 'page-width';//1.1;
|
|
|
+var DEFAULT_SCALE_DELTA = 1.1;
|
|
|
var MIN_SCALE = 0.25;
|
|
|
var MAX_SCALE = 10.0;
|
|
|
var SCALE_SELECT_CONTAINER_PADDING = 8;
|
|
@@ -3574,7 +3574,7 @@ var PDFPageView = (function PDFPageViewClosure() {
|
|
|
this.renderingId = 'page' + id;
|
|
|
|
|
|
this.rotation = 0;
|
|
|
- this.scale = scale || DEFAULT_SCALE;
|
|
|
+ this.scale = 'page-width';//scale || DEFAULT_SCALE;
|
|
|
this.viewport = defaultViewport;
|
|
|
this.pdfPageRotate = defaultViewport.rotation;
|
|
|
this.hasRestrictedScaling = false;
|