You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by bd...@apache.org on 2018/01/04 14:45:22 UTC
[sling-site] branch master updated: SLING-7356 - fix siblings
selector name
This is an automated email from the ASF dual-hosted git repository.
bdelacretaz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-site.git
The following commit(s) were added to refs/heads/master by this push:
new 9cf22d8 SLING-7356 - fix siblings selector name
9cf22d8 is described below
commit 9cf22d847f1369a6b634a4bd731c6a838f27d5eb
Author: Bertrand Delacretaz <bd...@apache.org>
AuthorDate: Thu Jan 4 15:45:11 2018 +0100
SLING-7356 - fix siblings selector name
---
.../content/documentation/bundles/sling-query/hierarchy-operators.md | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/main/jbake/content/documentation/bundles/sling-query/hierarchy-operators.md b/src/main/jbake/content/documentation/bundles/sling-query/hierarchy-operators.md
index 376e4a7..0a32434 100644
--- a/src/main/jbake/content/documentation/bundles/sling-query/hierarchy-operators.md
+++ b/src/main/jbake/content/documentation/bundles/sling-query/hierarchy-operators.md
@@ -31,11 +31,11 @@ Selects all next resources matching `next` that are immediately preceded by a si
// alternative version
$(resource).closest('cq:Page').next('cq:Page')
-### Next siblings operator (`prev ~ next`)
+### Next siblings operator (`prev ~ siblings`)
Selects all sibling resources that follow after the `prev` element, have the same parent, and match the filtering `siblings` selector
- // find all next siblings of the cq:Page containing the resource
+ // find all siblings of the cq:Page containing the resource
$(resource).closest('cq:Page ~ cq:Page')
// alternative version
$(resource).closest('cq:Page').nextAll('cq:Page')
--
To stop receiving notification emails like this one, please contact
['"commits@sling.apache.org" <co...@sling.apache.org>'].