Skip to content

Commit

Permalink
Define upfront
Browse files Browse the repository at this point in the history
  • Loading branch information
devongovett committed Jul 27, 2011
1 parent ee86d04 commit 89dd7fd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/mixins/text.coffee
Expand Up @@ -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)
Expand Down

0 comments on commit 89dd7fd

Please sign in to comment.