Skip to content

Commit 215a1c1

Browse files
committed
It is not possible to cache the line size
1 parent a31b0fd commit 215a1c1

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

lib/utils.js

-4
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,6 @@ var utils = {
3434
},
3535

3636
calculateLineSize: function (line) {
37-
if (line.size) {
38-
return line.size;
39-
}
40-
4137
var size = { height: 1, width: 0 };
4238
line.forEach(function (outputEntry) {
4339
var outputEntrySize = utils.calculateOutputEntrySize(outputEntry);

0 commit comments

Comments
 (0)