ded/bonzo — pull request #93 by rvagg (2012-09-03 03:52:00+00:00)
Title: replaceWith() should return Bonzo(replced nodes)

Any thoughts on this from anyone? Make `bonzo.replaceWith()` return the elements that were replaced instead of the replacing elements. It's consistent with `appendTo()`, `prependTo()`, `insertBefore()` and `insertAfter()` returning the collection you're operating on rather than the collection you're passing in. Also makes it consistent with jQuery and gives you the ability to do something with the replaced elements.

A breaking change, hence the PR for discussion.

/cc @ded