[jQuery] some doubt
[jQuery] some doubt
1. init
$.fn[ready?"ready":"load"] (fn)
here if we delete $.fn.ready,it comes $.fn.load(fn) equals to $
(document).bind("load",fn);
Does it make any means?
2. selector
if my selector is "~.xx" or "~ xxx",the search results are the same
the reason is :
the line 1537:
// And remove the token
t = jQuery.trim( t.replace( re, "" ) );
here remove the blank results a bug .
i think here we should remove the code above or replace the code with
"if ( t.indexOf(" ") == 0 ) continue;"