summaryrefslogtreecommitdiffstats
path: root/src/svg.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/svg.js')
-rw-r--r--src/svg.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/svg.js b/src/svg.js
index 331d756..f33f9e7 100644
--- a/src/svg.js
+++ b/src/svg.js
@@ -5,6 +5,11 @@ this.SVG = {
create: function(e) {
return document.createElementNS(this.ns, e);
+ },
+
+ extend: function(o, m) {
+ for (var k in m)
+ o.prototype[k] = m[k];
}
};