No need to pass false for allowNull as it's the default.

This commit is contained in:
Jürg Lehni 2013-08-16 19:20:35 -07:00
parent 6d751fc466
commit 19f50be897

View file

@ -267,8 +267,8 @@ new function() {
// TODO: Support for these is missing in Paper.js right now
// rotate: character rotation
// lengthAdjust:
var text = new PointText(getPoint(node, 'x', 'y', false)
.add(getPoint(node, 'dx', 'dy', false)));
var text = new PointText(getPoint(node, 'x', 'y')
.add(getPoint(node, 'dx', 'dy')));
text.setContent(node.textContent.trim() || '');
return text;
}