summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorwout <wout@impinc.co.uk>2014-02-02 22:11:41 +0100
committerwout <wout@impinc.co.uk>2014-02-02 22:11:41 +0100
commit7a29817ffd764cf7ab6906250b57f234801c94e0 (patch)
tree208e9ad362939c4f785ad3e729f074e43ddf99f8 /src
parent3754d895e795253db045c0c4a5cdcb7c8cd4414d (diff)
downloadsvg.js-1.0.0-rc.3.tar.gz
svg.js-1.0.0-rc.3.zip
Applying block to text node on text() method1.0.0-rc.3
Diffstat (limited to 'src')
-rwxr-xr-xsrc/text.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/text.js b/src/text.js
index 4acd236..5fc9ece 100755
--- a/src/text.js
+++ b/src/text.js
@@ -67,7 +67,7 @@ SVG.extend(SVG.Text, {
if (typeof text === 'function') {
this._rebuild = false
- text(this)
+ text.call(this, this)
} else {
this._rebuild = true