Landing some minor perf optimization to jQuery().
This commit is contained in:
parent
0db207da23
commit
b8076a914b
2 changed files with 13 additions and 5 deletions
|
@ -25,7 +25,7 @@ test("jQuery()", function() {
|
|||
equals( jQuery(obj).selector, "div", "jQuery(jQueryObj) == jQueryObj" );
|
||||
|
||||
// can actually yield more than one, when iframes are included, the window is an array as well
|
||||
equals( 1, jQuery(window).length, "Correct number of elements generated for jQuery(window)" );
|
||||
equals( jQuery(window).length, 1, "Correct number of elements generated for jQuery(window)" );
|
||||
|
||||
|
||||
var main = jQuery("#main");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue