Skip to content

Commit

Permalink
Merge pull request chuanxshi#27 from cbonnissent/patch-1
Browse files Browse the repository at this point in the history
Correct a typo on jquery append
  • Loading branch information
chuanxshi committed Jan 17, 2012
2 parents 9bff15b + d1a356d commit 4e339c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jquery-patterns/append.html
Expand Up @@ -20,7 +20,7 @@
// documentFragment off-DOM
var frag = document.createDocumentFragment();
$.each(reallyLongArray, function(count, item) {
var newLI = '<li>' + item + '</li>';
var newLI = $('<li>' + item + '</li>');
frag.appendChild(newLI[0]);
});
$('#ballers')[0].appendChild(frag);
Expand Down

0 comments on commit 4e339c7

Please sign in to comment.