From ecc7c2b21cc484a0a57cd7df02a533c65f7bde97 Mon Sep 17 00:00:00 2001 From: wout Date: Tue, 18 Dec 2012 13:16:25 +0100 Subject: Added transform() --- src/svg.js | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/svg.js') 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]; } }; -- cgit v1.2.3