diff options
Diffstat (limited to 'prog/function.html')
-rw-r--r-- | prog/function.html | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/prog/function.html b/prog/function.html index 2fe8d40..f0bf334 100644 --- a/prog/function.html +++ b/prog/function.html @@ -5,7 +5,7 @@ <script> Doml.runOnLoad(); </script> - <link type="stylesheet" href="../lib/style.css"> + <link rel="stylesheet" href="../lib/style.css"> </head> <body> <span class="statement-sequence"> @@ -21,10 +21,13 @@ </span> </span> - <span class="call" data-name="myFunc"> - <span class="constant" data-val="hello, world!" data-type="string"></span> - <span class="constant" data-val="3.5" data-type="number"></span> - <span class="constant" data-val="7" data-type="number"></span> + <span class="repeat" data-iteration="loopTime"> + <span class="constant" data-val="5" data-type="number"></span> + <span class="call" data-name="myFunc"> + <span class="constant" data-val="hello, world!" data-type="string"></span> + <span class="constant" data-val="3.5" data-type="number"></span> + <span class="variable" data-name="loopTime"></span> + </span> </span> </span> </body> |