resolve darcs stupidity
[org.ibex.core.git] / doc / reference / reference.xml
index ac79dec..cd23448 100644 (file)
 
   <section title="Static Code">
 
+v v v v v v v
     If the root [[&lt;ibex&gt;]] element contains any non-whitespace
     text content, this text is interpreted as JavaScript code and is
     executed the first time the template is referenced.  This code is
       and written) from both static scripts as well as instance
       scripts in a particular template. FIXME
       </definition>
+*************
+v v v v v v v
+    If the root <t>&lt;ibex&gt;</t> element contains any non-whitespace
+    text content, this text is interpreted as JavaScript code and is
+    executed the first time the template is referenced.  This code is
+    executed in a fresh scope containing two predefined properties:
+  
+    <definition term="ibex">
+      The Ibex Object (described in <ref section="The Ibex Object"/>)
+      </definition>
+  
+    <definition term="static">
+      A reference to this template's <i>static object</i>, which is
+      initially <t>null</t>.  The static object can be accessed (read
+      and written) from both static scripts as well as instance
+      scripts in a particular template. FIXME
+      </definition>
+*************
+<!-- _______________________________________________________________________ -->
+<section title="Layout and Rendering">
+^ ^ ^ ^ ^ ^ ^
+^ ^ ^ ^ ^ ^ ^
 
     </section>