1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-20 15:18:08 +02:00

Remove some unnecessary local variables.

This commit is contained in:
Nicholas Nethercote 2014-02-24 18:17:06 -08:00
parent 33dd1b0c3c
commit d4e8b41639
2 changed files with 1 additions and 6 deletions

View file

@ -60,10 +60,7 @@ var TextLayerBuilder = function textLayerBuilder(options) {
};
this.renderLayer = function textLayerBuilderRenderLayer() {
var self = this;
var textDivs = this.textDivs;
var bidiTexts = this.textContent;
var textLayerDiv = this.textLayerDiv;
var canvas = document.createElement('canvas');
var ctx = canvas.getContext('2d');
@ -93,7 +90,7 @@ var TextLayerBuilder = function textLayerBuilder(options) {
}
}
textLayerDiv.appendChild(textLayerFrag);
this.textLayerDiv.appendChild(textLayerFrag);
this.renderingDone = true;
this.updateMatches();
};