summaryrefslogtreecommitdiffstats
path: root/src/svg.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/svg.js')
-rw-r--r--src/svg.js7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/svg.js b/src/svg.js
index fd5f967..1a4095f 100644
--- a/src/svg.js
+++ b/src/svg.js
@@ -1,8 +1,11 @@
this.SVG = {
// define default namespaces
- ns: 'http://www.w3.org/2000/svg',
- xlink: 'http://www.w3.org/1999/xlink',
+ ns: 'http://www.w3.org/2000/svg',
+ xlink: 'http://www.w3.org/1999/xlink',
+
+ // initialize defs id sequence
+ did: 0,
// method for element creation
create: function(e) {