aboutsummaryrefslogtreecommitdiffstats
path: root/src/path.js
diff options
context:
space:
mode:
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