diff options
Diffstat (limited to 'src/doc.js')
-rw-r--r-- | src/doc.js | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -6,6 +6,8 @@ SVG.Doc = function Doc(e) { this.attr('version', '1.1'); this.attr('xlink', SVG.xlink, SVG.ns); + this.defs(); + if (typeof e == 'string') e = document.getElementById(e); |