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:
4b3b2c1
)
Fixed previous() in docs
author
Jörn Zaefferer
<joern.zaefferer@gmail.com>
Fri, 27 Oct 2006 15:15:44 +0000
(15:15 +0000)
committer
Jörn Zaefferer
<joern.zaefferer@gmail.com>
Fri, 27 Oct 2006 15:15:44 +0000
(15:15 +0000)
src/jquery/jquery.js
patch
|
blob
|
history
diff --git
a/src/jquery/jquery.js
b/src/jquery/jquery.js
index
03db89c
..
76f0f0e
100644
(file)
--- a/
src/jquery/jquery.js
+++ b/
src/jquery/jquery.js
@@
-3096,7
+3096,7
@@
jQuery.macros = {
*
* It only returns the immediately previous sibling, not all previous siblings.
*
- * @example $("p").previous(".selected")
+ * @example $("p").prev(".selected")
* @before <div><span>Hello</span></div><p class="selected">Hello Again</p><p>And Again</p>
* @result [ <div><span>Hello</span></div> ]
*