X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=doc%2Freference%2Freference.xml;h=cd2344821a3ae73408cd894867c03b4075628db1;hb=bcbccfdf9fca3f3970771f9d0ce25d7221e2904e;hp=ac79dec18e56c7bf89966ae13d35853d3f8d1209;hpb=ae0cd6164facf843cc136f52e3f78e3843191d61;p=org.ibex.core.git diff --git a/doc/reference/reference.xml b/doc/reference/reference.xml index ac79dec..cd23448 100644 --- a/doc/reference/reference.xml +++ b/doc/reference/reference.xml @@ -240,6 +240,7 @@
+v v v v v v v If the root [[<ibex>]] 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 @@ -255,6 +256,28 @@ and written) from both static scripts as well as instance scripts in a particular template. FIXME +************* +v v v v v v v + If the root <ibex> 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: + + + The Ibex Object (described in ) + + + + A reference to this template's static object, which is + initially null. The static object can be accessed (read + and written) from both static scripts as well as instance + scripts in a particular template. FIXME + +************* + +
+^ ^ ^ ^ ^ ^ ^ +^ ^ ^ ^ ^ ^ ^