From 0bb294ad9189797014b1e1bf55e41ca4b1ead19e Mon Sep 17 00:00:00 2001 From: wout Date: Sat, 21 Jun 2014 21:19:06 +0200 Subject: Back on track with the specs --- src/parent.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/parent.js') diff --git a/src/parent.js b/src/parent.js index 095120a..bde35da 100755 --- a/src/parent.js +++ b/src/parent.js @@ -79,9 +79,8 @@ SVG.Parent = SVG.invent({ while(this.node.hasChildNodes()) this.node.removeChild(this.node.lastChild) - // Ensure new defs node - if (this instanceof SVG.Doc) - this.defs() + // Remove defs reference + delete this._defs return this } -- cgit v1.2.3