equals(jQuery, $, "ready doesn't provide an event object, instead it provides a reference to the jQuery function, see http://docs.jquery.com/Events/ready#fn");
order=[],
start();
args={};
notYetReady=!jQuery.isReady;
test("jQuery.isReady",function(){
expect(2);
equals(notYetReady,true,"jQuery.isReady should not be true before DOM ready");
equals(jQuery.isReady,true,"jQuery.isReady should be true once DOM is ready");
});
});
});
// Create an event handler.
functionmakeHandler(testId){
// When returned function is executed, push testId onto `order` array
// to ensure execution order. Also, store event handler arg to ensure
// the correct arg is being passed into the event handler.