Skip to content

Commit

Permalink
Update elementtree.js
Browse files Browse the repository at this point in the history
  • Loading branch information
hermannpencole committed Jul 26, 2013
1 parent cb43163 commit 10b3b8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/elementtree.js
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ Element.prototype.insert = function(index, element)
this._children[index] = element;
};

Element.prototype.remove = function(index, element)
Element.prototype.remove = function(element)
{
this._children = this._children.filter(function(e) {
/* TODO: is this the right way to do this? */
Expand Down

0 comments on commit 10b3b8c

Please sign in to comment.