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:
f404d2c
)
Apparently I accidentally removed :nth-chlid()... uhh - oops?
author
John Resig
<jeresig@gmail.com>
Thu, 31 Aug 2006 04:13:39 +0000
(
04:13
+0000)
committer
John Resig
<jeresig@gmail.com>
Thu, 31 Aug 2006 04:13:39 +0000
(
04:13
+0000)
src/jquery/jquery.js
patch
|
blob
|
history
diff --git
a/src/jquery/jquery.js
b/src/jquery/jquery.js
index
e26ae9e
..
d40335b
100644
(file)
--- a/
src/jquery/jquery.js
+++ b/
src/jquery/jquery.js
@@
-1025,6
+1025,7
@@
jQuery.extend({
odd: "i%2",
// Child Checks
+ "nth-child": "jQuery.sibling(a,m[3]).cur",
"first-child": "jQuery.sibling(a,0).cur",
"last-child": "jQuery.sibling(a,0).last",
"only-child": "jQuery.sibling(a).length==1",