Skip to content

Commit

Permalink
[worker] Remove unused var. (eKoopmans#195)
Browse files Browse the repository at this point in the history
  • Loading branch information
ovvn authored and eKoopmans committed Jul 8, 2019
1 parent 82b2077 commit d87c258
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/worker.js
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,6 @@ Worker.prototype.toPdf = function toPdf() {
var opt = this.opt;

// Calculate the number of pages.
var ctx = canvas.getContext('2d');
var pxFullHeight = canvas.height;
var pxPageHeight = Math.floor(canvas.width * this.prop.pageSize.inner.ratio);
var nPages = Math.ceil(pxFullHeight / pxPageHeight);
Expand Down

0 comments on commit d87c258

Please sign in to comment.