aboutsummaryrefslogtreecommitdiffstats
path: root/src/svg.js
blob: 876b9aa19be4229b7b099b6599b5988c2d656fb6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
this.SVG = {
  ns:         'http://www.w3.org/2000/svg',
  xlink:      'http://www.w3.org/1999/xlink',
  
  create: function(e) {
    return document.createElementNS(this.ns, e);
  },
  
  extend: function(o, m) {
    for (var k in m)
      o.prototype[k] = m[k];
  }
  
};