aboutsummaryrefslogtreecommitdiff
path: root/prog/function.html
diff options
context:
space:
mode:
authorBen Burwell <ben.burwell@trifecta.com>2016-09-14 16:15:20 -0400
committerBen Burwell <ben.burwell@trifecta.com>2016-09-14 16:15:20 -0400
commitf704918fe2b187d715fe985ebffebdfbdc4b541f (patch)
tree9fc63b49b81ded84624bc6b1679015baffd7d292 /prog/function.html
parent2c1eee7b2a99985bbe92426368ea32360a4cc0b2 (diff)
Add repeat and input
Diffstat (limited to 'prog/function.html')
-rw-r--r--prog/function.html13
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>