jquery/jquery — pull request #814 by private-face (2012-06-08 22:32:14+00:00)
Title: Allow to append and prepend elements to DocumentFragment

jQuery does not allow to append/prepend elements to "jQueryfied" DocumentFragment:

```javascript
var fragment = $(document.createDocumentFragment());
fragment.append( "

" );	// this wont append new DIV into fragment
alert( fragment.length );	// 0
```
You have to write something like `fragment[0].appendChild( div[0] )` instead of straightforward `fragment.append( div )` and it is very annoying, especially when you are trying to append an array of elements.

This patch allows you to use append/prepend/appendTo/prependTo for fragments.

##### Sizes - compared to master

251424 (+48) dist/jquery.js
92067 (+44) dist/jquery.min.js
33177 (+5) dist/jquery.min.js.gz