1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-26 01:58:06 +02:00

Fixes make files, removes stats from backend, stepper

This commit is contained in:
Yury Delendik 2012-04-12 14:02:47 -07:00
parent 7c35f10af8
commit 494fd1ccf9
5 changed files with 20 additions and 22 deletions

View file

@ -80,6 +80,7 @@ var PDFPageProxy = (function PDFPageProxyClosure() {
this.pageInfo = pageInfo;
this.transport = transport;
this._stats = new StatTimer();
this._stats.enabled = !!globalScope.PDFJS.enableStats;
this.objs = transport.objs;
}
PDFPageProxy.prototype = {
@ -206,7 +207,7 @@ var PDFPageProxy = (function PDFPageProxyClosure() {
var operatorList = this.operatorList;
var stepper = null;
if (PDFJS.pdfBug && StepperManager.enabled) {
stepper = StepperManager.create(this.pageNumber);
stepper = StepperManager.create(this.pageNumber - 1);
stepper.init(operatorList);
stepper.nextBreakPoint = stepper.getNextBreakPoint();
}