About
XSH
Program interface definition
XSLT documentation
Source code
/
languages
/ javascript.html
Table of content
Templates
js.comment
(
content
="
.
")
js.block
(
indent
="
true()
",
content
)
js.callblock
(
name
,
context
,
content
,
indent
="
true()
")
js.function
(
name
,
args
,
content
,
indent
="
true()
")
js.if
(
condition
,
content
,
indent
="
true()
")
js.elseif
(
condition
,
content
,
indent
="
true()
")
js.else
(
name
,
condition
,
content
,
indent
="
true()
")
Details
Templates
js.comment
(
content
="
.
")
content
Default value:
.
js.block
(
indent
="
true()
",
content
)
indent
Default value:
true()
content
js.callblock
(
name
,
context
,
content
,
indent
="
true()
")
name
context
content
indent
Default value:
true()
js.function
(
name
,
args
,
content
,
indent
="
true()
")
Javascript function definition
name
args
content
indent
Default value:
true()
js.if
(
condition
,
content
,
indent
="
true()
")
condition
content
indent
Default value:
true()
js.elseif
(
condition
,
content
,
indent
="
true()
")
condition
content
indent
Default value:
true()
js.else
(
name
,
condition
,
content
,
indent
="
true()
")
name
condition
content
indent
Default value:
true()