diff options
author | wout <wout@impinc.co.uk> | 2012-12-16 16:15:47 +0100 |
---|---|---|
committer | wout <wout@impinc.co.uk> | 2012-12-16 16:15:47 +0100 |
commit | c6ac1246c271c66733366086f467e381c3fd65a8 (patch) | |
tree | 09ff273e5ffea615ba9555e38a441e5248e37190 /src/svg.js | |
parent | 1fc78fe531ded4bc8a1ed5e176774600b897fcb1 (diff) | |
download | svg.js-c6ac1246c271c66733366086f467e381c3fd65a8.tar.gz svg.js-c6ac1246c271c66733366086f467e381c3fd65a8.zip |
Implemented core library
Diffstat (limited to 'src/svg.js')
-rw-r--r-- | src/svg.js | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -0,0 +1,11 @@ + +var SVG = { + namespace: "http://www.w3.org/2000/svg", + xlink: "http://www.w3.org/1999/xlink", + + createElement: function(e) { + return document.createElementNS(this.namespace, e); + } +}; + +this.SVG = SVG;
\ No newline at end of file |