Skip to content

Commit

Permalink
It is not possible to cache the line size
Browse files Browse the repository at this point in the history
  • Loading branch information
sunesimonsen committed Sep 11, 2015
1 parent a31b0fd commit 215a1c1
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions lib/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,6 @@ var utils = {
},

calculateLineSize: function (line) {
if (line.size) {
return line.size;
}

var size = { height: 1, width: 0 };
line.forEach(function (outputEntry) {
var outputEntrySize = utils.calculateOutputEntrySize(outputEntry);
Expand Down

0 comments on commit 215a1c1

Please sign in to comment.