$("#firstp").bind("click", {foo: "bar"}, handler).trigger("click", [{bar: "foo"}]); 
$("#firstp").bind("click", handler).trigger("click", [1, "2", "abc"]); 
test("bind() with data and trigger() with data", function() {	expect(4);	var handler = function(event, data) {		ok( event.data, "check passed data exists" );		ok( event.data.foo == "bar", "Check value of passed data" );		ok( data, "Check trigger data" );		ok( data.bar == "foo", "Check value of trigger data" );	}	$("#firstp").bind("click", {foo: "bar"}, handler).trigger("click", [{bar: "foo"}]);});
6056	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/6056/6b729ff7984d9d4d09dff042a3896022dae3783d/eventTest.js/buggy/src/event/eventTest.js