Update text.coffee

This commit is contained in:
Devon Govett 2017-05-29 20:29:00 -07:00 committed by GitHub
parent 94939a567c
commit 7fd79bb269

View File

@ -23,7 +23,7 @@ module.exports =
options = @_initOptions(x, y, options)
# Convert text to a string
text = if text == null or text == undefined then '' else '' + text
text = if not text? then '' else '' + text
# if the wordSpacing option is specified, remove multiple consecutive spaces
if options.wordSpacing