From 4ceaca00f446df8321df7e36e567aaa1135418fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrg=20Lehni?= Date: Fri, 20 May 2011 08:46:58 +0100 Subject: [PATCH] Initialise content to empty string, so content += 'something' would not produce odd results. --- src/text/PointText.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/text/PointText.js b/src/text/PointText.js index eaef026e..20fc0560 100644 --- a/src/text/PointText.js +++ b/src/text/PointText.js @@ -20,6 +20,7 @@ var PointText = this.PointText = TextItem.extend({ initialize: function(point) { this.base(); var point = Point.read(arguments); + this.content = ''; this._point = LinkedPoint.create(this, 'setPoint', point.x, point.y); this.matrix = new Matrix().translate(point); },