On Wed, 13 May 2020 09:22:20 GMT, Rony G. Flatscher 
<github.com+60214806+rony...@openjdk.org> wrote:

>> Doc addition for the CSR:
>> =================
>> The following text was added to the [Introduction to
>> FXML](https://github.com/openjdk/jfx/blob/master/modules/javafx.fxml/src/main/docs/javafx/fxml/doc-files/introduction_to_fxml.html)
>> at two locations, the "Script Event Handlers" ("#script_event_handlers") and 
>> the "Scripting" (#scripting") sections:
>>> <p>Hint: to turn off automatic compilation of script code place the 
>>> processing instruction <span
>>> class="code">&lt;?compile false?&gt;</span> before the script. To turn on 
>>> compilation of script code again use the
>>> processing instruction <span class="code">&lt;?compile true?&gt;</span> (or 
>>> short: <span
>>> class="code">&lt;?compile?&gt;</span>). The compile processing instruction 
>>> can be used repeatedly to turn compilation
>>> of script code off and on.</p>
>> 
>> This documents the compile processing instruction, that it compilation is on 
>> by default and that it can be turned off
>> and on repeatedly. It is hoped that this formulation plays well with the 
>> context where this paragraph got introduced.
>
> Doc addition for the CSR (update)
> -------------------------------------
> In the event handler section:
>> <p>Note: to turn off automatic compilation of script code place the 
>> processing instruction <span
>> class="code">&lt;?compile false?&gt;</span> before the element that contains 
>> the script. To turn on compilation of
>> script code again use the processing instruction <span 
>> class="code">&lt;?compile true?&gt;</span> (or short: <span
>> class="code">&lt;?compile?&gt;</span>). The compile processing instruction 
>> can be used repeatedly to turn compilation
>> of script code off and on.</p>
> 
> In the Scripting section:
>> <p>Note: to turn off automatic compilation of script code place the 
>> processing instruction <span
>> class="code">&lt;?compile false?&gt;</span> before the script element. To 
>> turn on compilation of script code again use
>> the processing instruction <span class="code">&lt;?compile true?&gt;</span> 
>> (or short: <span
>> class="code">&lt;?compile?&gt;</span>). The compile processing instruction 
>> can be used repeatedly to turn compilation
>> of script code off and on.</p>

/solves

-------------

PR: https://git.openjdk.java.net/jfx/pull/192

Reply via email to