aboutsummaryrefslogtreecommitdiffstats
path: root/src/doc.js
diff options
context:
space:
mode:
authorUlrich-Matthias Schäfer <ulima.ums@googlemail.com>2017-04-09 21:02:20 +0200
committerUlrich-Matthias Schäfer <ulima.ums@googlemail.com>2017-04-09 21:02:20 +0200
commit4dd7ce338880d05ff0ea03d9b730126bcee99356 (patch)
tree1eef5fb84e110d6ab04cf79a7cefb3bff8b2d9d9 /src/doc.js
parent270874248df9a034b24d49d8db00cba6529e7f4b (diff)
downloadsvg.js-4dd7ce338880d05ff0ea03d9b730126bcee99356.tar.gz
svg.js-4dd7ce338880d05ff0ea03d9b730126bcee99356.zip
make last test passing in svg docs
Diffstat (limited to 'src/doc.js')
-rw-r--r--src/doc.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/doc.js b/src/doc.js
index c6da348..6a48a6a 100644
--- a/src/doc.js
+++ b/src/doc.js
@@ -71,10 +71,10 @@ SVG.Doc = SVG.invent({
// Removes the doc from the DOM
, remove: function() {
if(this.parent()) {
- this.parent().removeChild(this.node);
+ this.parent().removeChild(this.node)
}
- return this;
+ return this
}
, clear: function() {
// remove children