git.asbjorn.biz
/
jquery.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
80782d9
)
Changed the currentTarget test - no need to test the native event triggering for...
author
John Resig
<jeresig@gmail.com>
Tue, 17 Feb 2009 17:22:59 +0000
(17:22 +0000)
committer
John Resig
<jeresig@gmail.com>
Tue, 17 Feb 2009 17:22:59 +0000
(17:22 +0000)
test/unit/event.js
patch
|
blob
|
history
diff --git
a/test/unit/event.js
b/test/unit/event.js
index
f111c07
..
2ba2561
100644
(file)
--- a/
test/unit/event.js
+++ b/
test/unit/event.js
@@
-418,7
+418,7
@@
test("trigger(eventObject, [data], [fn])", function() {
});
test("jQuery.Event.currentTarget", function(){
- expect(2);
+ expect(1);
var counter = 0,
$elem = jQuery('<button>a</button>').click(function(e){
@@
-427,8
+427,6
@@
test("jQuery.Event.currentTarget", function(){
// Fake event
$elem.trigger('click');
- // Native event (#4033)
- triggerEvent( $elem[0], 'click' );
// Cleanup
$elem.unbind();