ok( !jQuery.data(el[0], "events"), "Removed the events expando after all handlers are unbound." );
reset();
- var clickCounter = mouseoverCounter = 0;
+ var clickCounter = (mouseoverCounter = 0);
var handler = function(event) {
if (event.type == "click")
clickCounter += 1;
start();
});
});
+
+test("event properties", function() {
+ stop();
+ $("#simon1").click(function(event) {
+ ok( event.timeStamp, "assert event.timeStamp is present" );
+ start();
+ }).click();
+});
\ No newline at end of file