summaryrefslogtreecommitdiffstats
path: root/src/data.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/data.js')
-rw-r--r--src/data.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/data.js b/src/data.js
index 1adbd52..cefa21c 100644
--- a/src/data.js
+++ b/src/data.js
@@ -1,10 +1,10 @@
-//
+
SVG.extend(SVG.Element, {
- // Store data values on svg nodes
+ // Store data values on svg nodes
data: function(a, v, r) {
- if (typeof a == 'object') {
- for (v in a)
- this.data(v, a[v])
+ if (typeof a == 'object') {
+ for (v in a)
+ this.data(v, a[v])
} else if (arguments.length < 2) {
try {