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:53:00 UTC

[sling-site] branch asf-site updated: fix siblings selector name

This is an automated email from the ASF dual-hosted git repository.

bdelacretaz pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/sling-site.git


The following commit(s) were added to refs/heads/asf-site by this push:
     new 7f3cef5  fix siblings selector name
7f3cef5 is described below

commit 7f3cef5bd0d72f458b9775acf8f4c6e157690801
Author: Bertrand Delacretaz <bd...@apache.org>
AuthorDate: Thu Jan 4 15:52:05 2018 +0100

    fix siblings selector name
---
 documentation/bundles/sling-query/hierarchy-operators.html | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/documentation/bundles/sling-query/hierarchy-operators.html b/documentation/bundles/sling-query/hierarchy-operators.html
index af08632..97aca22 100644
--- a/documentation/bundles/sling-query/hierarchy-operators.html
+++ b/documentation/bundles/sling-query/hierarchy-operators.html
@@ -99,15 +99,15 @@ $(resource).closest(&#39;cq:Page + cq:Page&#39;)
 // alternative version
 $(resource).closest(&#39;cq:Page&#39;).next(&#39;cq:Page&#39;)
 </code></pre>
-<h3>Next siblings operator (<code>prev ~ next</code>)</h3>
+<h3>Next siblings operator (<code>prev ~ siblings</code>)</h3>
 <p>Selects all sibling resources that follow after the <code>prev</code> element, have the same parent, and match the filtering <code>siblings</code> selector</p>
-<pre><code>// find all next siblings of the cq:Page containing the resource
+<pre><code>// find all siblings of the cq:Page containing the resource
 $(resource).closest(&#39;cq:Page ~ cq:Page&#39;)
 // alternative version
 $(resource).closest(&#39;cq:Page&#39;).nextAll(&#39;cq:Page&#39;)
 </code></pre></section></div></div>            
             <div class="footer">
-<div class="revisionInfo">Last modified by <span class="author">Bertrand Delacretaz</span> on <span class="comment">Fri Sep 29 15:57:01 2017 +0200</span></div>                <p>
+<div class="revisionInfo">Last modified by <span class="author">Bertrand Delacretaz</span> on <span class="comment">Thu Jan 4 15:45:11 2018 +0100</span></div>                <p>
                     Apache Sling, Sling, Apache, the Apache feather logo, and the Apache Sling project logo are trademarks of The Apache Software Foundation. All other marks mentioned may be trademarks or registered trademarks of their respective owners.
                 </p><p>
                     Copyright © 2011-2017 The Apache Software Foundation.

-- 
To stop receiving notification emails like this one, please contact
['"commits@sling.apache.org" <co...@sling.apache.org>'].