aboutsummaryrefslogtreecommitdiffstats
path: root/src/core.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/core.js')
-rw-r--r--src/core.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/core.js b/src/core.js
index 67cb147c7..bedafdce2 100644
--- a/src/core.js
+++ b/src/core.js
@@ -1014,9 +1014,11 @@ jQuery.extend({
jQuery.each({
parent: "a.parentNode",
- parents: "jQuery.parents(a)",
+ parents: "jQuery.dir(a,'parentNode')",
next: "jQuery.nth(a,2,'nextSibling')",
prev: "jQuery.nth(a,2,'previousSibling')",
+ nextAll: "jQuery.dir(a,'nextSibling')",
+ prevtAll: "jQuery.dir(a,'previousSibling')",
siblings: "jQuery.sibling(a.parentNode.firstChild,a)",
children: "jQuery.sibling(a.firstChild)",
contents: "jQuery.nodeName(a,'iframe')?a.contentDocument||a.contentWindow.document:jQuery.makeArray(a.childNodes)"