rem: 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" ); 
add: test("trigger(event, [data]", function() { expect(3); var handler = function(event, a, b, c) { ok( a == 1, "check passed data" ); ok( b == "2", "check passed data" ); ok( c == "abc", "check passed data" ); 
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: 5264	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5264/6b729ff7984d9d4d09dff042a3896022dae3783d/eventTest.js/buggy/src/event/eventTest.js