diff options
Diffstat (limited to 'src/svg.js')
-rw-r--r-- | src/svg.js | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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]; } }; |