mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-10 10:15:37 +02:00
Refactor names in various files.
web/viewer.js src/fonts.js (& remove unused global) src/evaluator.js src/canvas.js
This commit is contained in:
parent
4dd0e02436
commit
32fbf687ab
4 changed files with 76 additions and 81 deletions
|
@ -207,7 +207,7 @@ var CanvasExtraState = (function CanvasExtraStateClosure() {
|
|||
var CanvasGraphics = (function CanvasGraphicsClosure() {
|
||||
// Defines the time the executeOperatorList is going to be executing
|
||||
// before it stops and shedules a continue of execution.
|
||||
var kExecutionTime = 15;
|
||||
var EXECUTION_TIME = 15;
|
||||
|
||||
function CanvasGraphics(canvasCtx, commonObjs, objs, textLayer) {
|
||||
this.ctx = canvasCtx;
|
||||
|
@ -283,7 +283,7 @@ var CanvasGraphics = (function CanvasGraphicsClosure() {
|
|||
}
|
||||
|
||||
var executionEndIdx;
|
||||
var endTime = Date.now() + kExecutionTime;
|
||||
var endTime = Date.now() + EXECUTION_TIME;
|
||||
|
||||
var commonObjs = this.commonObjs;
|
||||
var objs = this.objs;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue