Skip to content

Commit

Permalink
multiple remove()s mess up
Browse files Browse the repository at this point in the history
  • Loading branch information
James Halliday committed Mar 12, 2012
1 parent a153b28 commit 3565cc9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/update.js
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ test('update', function (t) {
}); });


tr.select('.e', function (node) { tr.select('.e', function (node) {
node.replace('<b>BEEPITY</b>'); node.remove();
}); });


var data = ''; var data = '';
Expand Down
2 changes: 1 addition & 1 deletion test/update_target.html
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<span>BURRITOS</span> <span>BURRITOS</span>
</div> </div>
<div class="a">!!!</div> <div class="a">!!!</div>
<b>BEEPITY</b>


<div class="c">---</div> <div class="c">---</div>


Expand Down

0 comments on commit 3565cc9

Please sign in to comment.