<p><pre><code> // HANDLE: $(function)
// Shortcut for document ready
} else if ( jQuery.isFunction( selector ) ) {
return rootjQuery.ready( selector );
}
</code></pre>
Calling jQuery(fn) twice will trigger the .ready() call twice. Apparently they are stepping on each other.