fix(jqLite): clone wrapNode in jqlite/wrap
Change jqLite's implementation of wrap() to clone the wrapNode before wrapping the target element in it. Match jQuery's wrap() behavior and prevent accidentally attaching target element to the DOM as a side effect. Closes #3860 Closes #4194
C
chrisrhoden committed
77d3e7544642396d868aa49b85f0c027e8057bd7
Parent: 1bdca93
Committed by Igor Minar <igor@angularjs.org>
on 8/19/2014, 4:50:44 AM