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:
dc4c9ab
)
Ensure that selector is not broken.
author
Robert Katic
<robert.katic@gmail.com>
Tue, 13 Apr 2010 13:11:56 +0000
(15:11 +0200)
committer
jeresig
<jeresig@gmail.com>
Thu, 23 Sep 2010 16:08:29 +0000
(12:08 -0400)
test/unit/event.js
patch
|
blob
|
history
diff --git
a/test/unit/event.js
b/test/unit/event.js
index
6d0fd9b
..
3032497
100644
(file)
--- a/
test/unit/event.js
+++ b/
test/unit/event.js
@@
-210,7
+210,7
@@
test("live/die(Object), delegate/undelegate(String, Object)", function() {
expect(6);
var clickCounter = 0, mouseoverCounter = 0,
- $p = jQuery("#firstp"), $a = $p.find("a").first();
+ $p = jQuery("#firstp"), $a = $p.find("a:first");
var events = {
click: function( event ) {