Re: oldNode.replaceWith(...collection) edge case

On Jan 27, 2015 4:51 AM, "Anne van Kesteren" <annevk@annevk.nl> wrote:
>
> On Thu, Jan 22, 2015 at 11:43 AM, Jonas Sicking <jonas@sicking.cc> wrote:
> > In general I agree that it feels unintuitive that you can't replace a
node
> > with a collection which includes the node itself. So the extra line or
two
> > of code seems worth it.
>
> You don't think it's weird that before/after/replaceWith all end up
> doing the same for that scenario? Perhaps it's okay..

Yeah, I think that's okay.

/ Jonas

Received on Tuesday, 27 January 2015 16:50:15 UTC