aboutsummaryrefslogtreecommitdiffstats
path: root/src/path.js
diff options
context:
space:
mode:
authorwout <wout@impinc.co.uk>2012-12-20 21:31:17 +0100
committerwout <wout@impinc.co.uk>2012-12-20 21:31:17 +0100
commit675e347a10372a10ecdfd4fa6624c062f1ee7102 (patch)
treed36b605512862178deb07a1d58a11dc4e794921b /src/path.js
parent7b5c91ba593fc673ec6d4a8d7dac4b26b1fac52f (diff)
downloadsvg.js-675e347a10372a10ecdfd4fa6624c062f1ee7102.tar.gz
svg.js-675e347a10372a10ecdfd4fa6624c062f1ee7102.zip
Added font element
Diffstat (limited to 'src/path.js')
-rw-r--r--src/path.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/path.js b/src/path.js
index 60ec9ef..ab1aa87 100644
--- a/src/path.js
+++ b/src/path.js
@@ -11,8 +11,7 @@ SVG.extend(SVG.Path, {
// set path data
data: function(d) {
- this.attr('d', d);
- return this;
+ return this.attr('d', d);
}
}); \ No newline at end of file