Figure out why onload is called twice, get $42
twitter.com
twitter.com
// HANDLE: $(function)
// Shortcut for document ready
} else if ( jQuery.isFunction( selector ) ) {
return rootjQuery.ready( selector );
}
Calling jQuery(fn) twice will trigger the .ready() call twice. Apparently they are stepping on each other.