id,summary,reporter,owner,description,type,status,priority,milestone,component,version,resolution,keywords,cc,blocking,blockedby
3666,Remove dead code from $(fn) shortcut for $(document).ready(fn),geary,flesler,"The code for the $(fn) shortcut is:

return jQuery( document )[ jQuery.fn.ready ? ""ready"" : ""load"" ]( selector );

It's unclear what the intent of this code was, but the jQuery.fn.ready test has no effect. jQuery.fn.ready always exists, so the code is the equivalent of:

return jQuery( document ).ready( selector );

That also matches people's expectation that $(fn) is the exact equivalent of $(document).ready(fn).

The attached patch removes this dead code.",enhancement,closed,trivial,1.3,core,1.2.6,fixed,,geary,,
