summaryrefslogtreecommitdiffstats
path: root/src/doc.js
diff options
context:
space:
mode:
authorwout <wout@impinc.co.uk>2012-12-29 18:12:53 +0100
committerwout <wout@impinc.co.uk>2012-12-29 18:12:53 +0100
commit68367e494fcab754ae4833e64804a824032cf31c (patch)
treec9d5d9fe5995ccbbe819f29752c1133c7415882d /src/doc.js
parent52ed3ba98715ed3c63e74ff29a9892972a7bec19 (diff)
downloadsvg.js-68367e494fcab754ae4833e64804a824032cf31c.tar.gz
svg.js-68367e494fcab754ae4833e64804a824032cf31c.zip
Code refactoring
Diffstat (limited to 'src/doc.js')
-rw-r--r--src/doc.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/doc.js b/src/doc.js
index 2457815..3d563a3 100644
--- a/src/doc.js
+++ b/src/doc.js
@@ -16,10 +16,11 @@ SVG.Doc = function Doc(e) {
attr('xlink', SVG.xlink, SVG.ns).
defs();
+ // add elements
e.appendChild(w);
w.appendChild(this.node);
- // ensure
+ // ensure correct rendering for safari
this.stage();
};