summaryrefslogtreecommitdiffstats
path: root/src/parent.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/parent.js')
-rwxr-xr-xsrc/parent.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/parent.js b/src/parent.js
index 1954259..c4476c6 100755
--- a/src/parent.js
+++ b/src/parent.js
@@ -67,7 +67,7 @@ SVG.Parent = SVG.invent({
return this
}
- // Remove a child element at a position
+ // Remove a given child
, removeElement: function(element) {
this.node.removeChild(element.node)
@@ -75,11 +75,11 @@ SVG.Parent = SVG.invent({
}
// Remove all elements in this container
, clear: function() {
- // Remove children
+ // remove children
while(this.node.hasChildNodes())
this.node.removeChild(this.node.lastChild)
- // Remove defs reference
+ // remove defs reference
delete this._defs
return this