summaryrefslogtreecommitdiffstats
path: root/src/svg.js
diff options
context:
space:
mode:
authorwout <wout@impinc.co.uk>2012-12-18 13:16:25 +0100
committerwout <wout@impinc.co.uk>2012-12-18 13:16:25 +0100
commitecc7c2b21cc484a0a57cd7df02a533c65f7bde97 (patch)
treeccf3cce51e73e7dfd454d44ce366901a1242635d /src/svg.js
parent1d8f6a6bfda2c09a1fafe330ac2d91e9d38e2019 (diff)
downloadsvg.js-ecc7c2b21cc484a0a57cd7df02a533c65f7bde97.tar.gz
svg.js-ecc7c2b21cc484a0a57cd7df02a533c65f7bde97.zip
Added transform()
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];
}
};