rem: test("bind() with data and trigger() with data", function() { expect(4); var handler = function(event, data) { 
add: test("bind() with data", function() { expect(2); var handler = function(event) { 
context: 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"}]);});
meta: 2798	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/2798/34cb5b5812db50d921f7c7a0c398eb68167b3da3/eventTest.js/buggy/src/event/eventTest.js