You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by bu...@apache.org on 2016/04/20 10:50:04 UTC

svn commit: r986152 - in /websites/staging/sling/trunk/content: ./ documentation/bundles/scripting/scripting-sightly.html

Author: buildbot
Date: Wed Apr 20 08:50:04 2016
New Revision: 986152

Log:
Staging update by buildbot for sling

Modified:
    websites/staging/sling/trunk/content/   (props changed)
    websites/staging/sling/trunk/content/documentation/bundles/scripting/scripting-sightly.html

Propchange: websites/staging/sling/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Wed Apr 20 08:50:04 2016
@@ -1 +1 @@
-1740049
+1740066

Modified: websites/staging/sling/trunk/content/documentation/bundles/scripting/scripting-sightly.html
==============================================================================
--- websites/staging/sling/trunk/content/documentation/bundles/scripting/scripting-sightly.html (original)
+++ websites/staging/sling/trunk/content/documentation/bundles/scripting/scripting-sightly.html Wed Apr 20 08:50:04 2016
@@ -19,7 +19,7 @@
 -->
   <head>
     <meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
-    <title>Apache Sling - </title>
+    <title>Apache Sling - Sightly Scripting Engine</title>
     <link rel="icon" href="/res/favicon.ico">
     <link rel="stylesheet" href="/res/site.css" type="text/css" media="all">
     <link rel="stylesheet" href="/res/codehilite.css" type="text/css" media="all">
@@ -102,7 +102,7 @@ h2:hover > .headerlink, h3:hover > .head
 
       
       
-      <h1></h1>
+      <h1>Sightly Scripting Engine</h1>
       <style type="text/css">
 /* The following code is added by mdx_elementid.py
    It was originally lifted from http://subversion.apache.org/style/site.css */
@@ -161,7 +161,7 @@ h2:hover > .headerlink, h3:hover > .head
 <span class="cm"> * Initialises the Use bean.</span>
 <span class="cm"> *</span>
 <span class="cm"> * @param bindings All bindings available to the Sightly scripts.</span>
-<span class="cm"> **/</span> 
+<span class="cm"> **/</span>
 <span class="n">public</span> <span class="k">void</span> <span class="n">init</span><span class="p">(</span><span class="n">javax</span><span class="p">.</span><span class="n">script</span><span class="p">.</span><span class="n">Bindings</span> <span class="n">bindings</span><span class="p">);</span>
 </pre></div>
 
@@ -295,7 +295,7 @@ h2:hover > .headerlink, h3:hover > .head
 <p>The Java Use Provider can be used to load OSGi services, objects exported by bundles or backed by a <code>Resource</code>.</p>
 <h4 id="resource-backed-java-classes">Resource-backed Java classes<a class="headerlink" href="#resource-backed-java-classes" title="Permanent link">&para;</a></h4>
 <p>When objects are backed by <code>Resources</code> the Java Use Provider will automatically handle the compilation of these classes. The classes' package names should correspond to the path of the backing resource, making sure to replace illegal Java characters with underscores - <code>_</code>.</p>
-<p><strong>Example:</strong><br />
+<p><strong>Example:</strong>
 Assuming the following content structure:</p>
 <div class="codehilite"><pre>    └── <span class="n">apps</span>
         └── <span class="n">my</span><span class="o">-</span><span class="n">project</span>
@@ -399,7 +399,7 @@ Assuming the following content structure
 
 <h3 id="javascript-use-provider">JavaScript Use Provider<a class="headerlink" href="#javascript-use-provider" title="Permanent link">&para;</a></h3>
 <p>The JavaScript Use Provider allows loading objects created through the <code>use</code> function, by evaluating scripts passed to <code>data-sly-use</code>.</p>
-<p><strong>Example:</strong><br />
+<p><strong>Example:</strong>
 Assuming the following content structure:</p>
 <div class="codehilite"><pre>    └── <span class="n">apps</span>
         └── <span class="n">my</span><span class="o">-</span><span class="n">project</span>
@@ -570,7 +570,7 @@ Assuming the following content structure
 <p>The following table summarises the pros and cons for each Use Provider, with the obvious exception of the Render Unit Use Provider.</p>
 <table>
     <tr>
-       <th>Use Provider</th> 
+       <th>Use Provider</th>
        <th>Advantages</th>
        <th>Disadvantages</th>
     </tr>
@@ -638,7 +638,7 @@ Assuming the following content structure
     </tr>
 </table>
       <div class="timestamp" style="margin-top: 30px; font-size: 80%; text-align: right;">
-        Rev. 1739945 by radu on Tue, 19 Apr 2016 15:18:10 +0000
+        Rev. 1740066 by radu on Wed, 20 Apr 2016 08:49:50 +0000
       </div>
       <div class="trademarkFooter"> 
         Apache Sling, Sling, Apache, the Apache feather logo, and the Apache Sling project