Remove unused (local) variables in web/

This commit is contained in:
Rob Wu 2014-04-11 21:43:07 +02:00 committed by Rob Wu
parent b4a81cb472
commit d7dfa447cd
4 changed files with 1 additions and 9 deletions

View file

@ -461,7 +461,6 @@ var PageView = function pageView(container, id, scale,
div.appendChild(canvasWrapper);
this.canvas = canvas;
var scale = this.scale;
var ctx = canvas.getContext('2d');
var outputScale = getOutputScale(ctx);
@ -633,7 +632,6 @@ var PageView = function pageView(container, id, scale,
canvasWrapper.appendChild(canvas);
printContainer.appendChild(canvasWrapper);
var self = this;
canvas.mozPrintCallback = function(obj) {
var ctx = obj.context;