Split out the fragment-building code from domManip. Switched core.js to using that instead. Also moved the standalone tag detection to $(...) for performance.

This commit is contained in:
John Resig 2009-09-07 18:58:01 +00:00
parent b7d4e0e46c
commit 9d8d74569c
3 changed files with 58 additions and 42 deletions

View file

@ -337,7 +337,7 @@ test("jQuery('html')", function() {
test("jQuery('html', context)", function() {
expect(1);
var $div = jQuery("<div/>");
var $div = jQuery("<div/>")[0];
var $span = jQuery("<span/>", $div);
equals($span.length, 1, "Verify a span created with a div context works, #1763");
});