aboutsummaryrefslogtreecommitdiffstats
path: root/dist
diff options
context:
space:
mode:
authorwout <wout@impinc.co.uk>2013-01-06 20:47:29 +0100
committerwout <wout@impinc.co.uk>2013-01-06 20:47:29 +0100
commit87cef2ab192bbdec602e838ff9d21d2846ecdcd4 (patch)
tree007dd29d9c7003cf2f8bd98d7f0de3aeb1e8b4c4 /dist
parent661d1f8058a26f883a17d926577e96dcc3818df0 (diff)
downloadsvg.js-87cef2ab192bbdec602e838ff9d21d2846ecdcd4.tar.gz
svg.js-87cef2ab192bbdec602e838ff9d21d2846ecdcd4.zip
Updated README
Diffstat (limited to 'dist')
-rw-r--r--dist/svg.js5
1 files changed, 2 insertions, 3 deletions
diff --git a/dist/svg.js b/dist/svg.js
index e77e5e9..cca11d1 100644
--- a/dist/svg.js
+++ b/dist/svg.js
@@ -12,16 +12,15 @@
xlink: 'http://www.w3.org/1999/xlink',
// Defs id sequence
did: 0,
- // Method for element creation
+ // Function for element creation
create: function(element) {
return document.createElementNS(this.ns, element);
},
- // Method for extending objects
+ // Function for extending objects
extend: function(object, module) {
for (var key in module)
object.prototype[key] = module[key];
}
-
};
SVG.Container = {