489
edits
Script 10k (talk | contribs) m (→Description) |
Script 10k (talk | contribs) m (→Description) |
||
Line 661: | Line 661: | ||
<tt><nowiki></code></nowiki></tt> | <tt><nowiki></code></nowiki></tt> | ||
You can | You can exit prematurely from the JavaScript code using the <tt>return</tt> keyword. It is also possible output JavaScript variables to the console using the echo function: <tt>echo(var);</tt>. This function allows you to debug the code that you develop. | ||
The <tt>$xmlData</tt> global variable contains the XML of the current file. After you modify the XML, update this variable again with the new XML in order to XmlTools update correctly the file. | The <tt>$xmlData</tt> global variable contains the XML of the current file. After you modify the XML, update this variable again with the new XML in order to XmlTools update correctly the file. |
edits