jquery/jquery — pull request #851 by antishok (2012-07-10 05:08:01+00:00)
Title: Fix #10517. before() and after() on disconnected node should return multiple nodes

before() and after() now use isDisconnected() to make sure the parent node is not just a fragment.

changing replaceWith() to also use isDisconnected() makes this commit go from +3 to -7 for jquery.min.gz