Remove || ''

This commit is contained in:
DD Liu 2018-05-23 15:27:07 -04:00 committed by GitHub
parent 26868e4cab
commit df08aa10c1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -339,7 +339,7 @@ new function() {
text.setContent(' '); // No content results in 0 height
text.translate(0, text.bounds.height);
}
text.setContent(lines.join('\n') || '');
text.setContent(lines.join('\n'));
return text;
}
}