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:
parent
b7d4e0e46c
commit
9d8d74569c
3 changed files with 58 additions and 42 deletions
|
@ -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");
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue