summaryrefslogtreecommitdiffstats
path: root/src/doc.js
diff options
context:
space:
mode:
authorwout <wout@impinc.co.uk>2012-12-18 19:54:12 +0100
committerwout <wout@impinc.co.uk>2012-12-18 19:54:12 +0100
commit1293edb66a5263f8f7064f16f11cbf6b8f550800 (patch)
treea336fb50db98d52ec8151b494bfa7762128c170e /src/doc.js
parentecc7c2b21cc484a0a57cd7df02a533c65f7bde97 (diff)
downloadsvg.js-1293edb66a5263f8f7064f16f11cbf6b8f550800.tar.gz
svg.js-1293edb66a5263f8f7064f16f11cbf6b8f550800.zip
Separated core from optional libraries
Diffstat (limited to 'src/doc.js')
-rw-r--r--src/doc.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/doc.js b/src/doc.js
index e361e29..e307d09 100644
--- a/src/doc.js
+++ b/src/doc.js
@@ -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);