equal
deleted
inserted
replaced
|
1 // TODO remove(selector)? |
|
2 // TODO remove(node)? |
|
3 // TODO remove(function)? |
|
4 d3_selectionPrototype.remove = function() { |
|
5 return this.each(function() { |
|
6 var parent = this.parentNode; |
|
7 if (parent) parent.removeChild(this); |
|
8 }); |
|
9 }; |