Define upfront

This commit is contained in:
Devon Govett 2011-07-26 22:02:02 -04:00
parent ee86d0493f
commit 89dd7fdc8e

View File

@ -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)