From 89dd7fdc8e1df7f42bdcdb7b813f3654c2f37fd2 Mon Sep 17 00:00:00 2001 From: Devon Govett Date: Tue, 26 Jul 2011 22:02:02 -0400 Subject: [PATCH] Define upfront --- lib/mixins/text.coffee | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/mixins/text.coffee b/lib/mixins/text.coffee index 2bc6668..597b8af 100644 --- a/lib/mixins/text.coffee +++ b/lib/mixins/text.coffee @@ -189,6 +189,7 @@ module.exports = wrap.startY = @y # the initial Y position wrap.lineWidth = lineWidth # the maximum width of each line wrap.firstLine = true # whether we are on the first line of a paragraph + wrap.lastLine = false # whether we are on the last line of a paragraph # split the line into words words = text.match(WORD_RE)