diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2017-05-06 15:03:13 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2017-05-06 15:03:13 -0700 |
commit | 996ce5f101e597cf70bda0864f964b356a1005a3 (patch) | |
tree | 0b5437e561ac14ad27358401820fc5cd9b3e5193 /html/084console.mu.html | |
parent | dc0e767cf5130461a6aa58774d1016ec3934396b (diff) | |
download | mu-996ce5f101e597cf70bda0864f964b356a1005a3.tar.gz |
3845
Diffstat (limited to 'html/084console.mu.html')
-rw-r--r-- | html/084console.mu.html | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/html/084console.mu.html b/html/084console.mu.html index 16712057..8e1b7952 100644 --- a/html/084console.mu.html +++ b/html/084console.mu.html @@ -157,13 +157,12 @@ if ('onhashchange' in window) { <span id="L96" class="LineNr"> 96 </span> <span class="Delimiter">}</span> <span id="L97" class="LineNr"> 97 </span>] <span id="L98" class="LineNr"> 98 </span> -<span id="L99" class="LineNr"> 99 </span><span class="Comment"># use this helper to skip rendering if there's lots of other events queued up</span> -<span id="L100" class="LineNr">100 </span><span class="muRecipe">def</span> <a href='084console.mu.html#L100'>has-more-events?</a> <a href='084console.mu.html#L23'>console</a>:&:<a href='084console.mu.html#L23'>console</a><span class="muRecipe"> -> </span>result:bool [ -<span id="L101" class="LineNr">101 </span> <span class="Constant">local-scope</span> -<span id="L102" class="LineNr">102 </span> <span class="Constant">load-ingredients</span> -<span id="L103" class="LineNr">103 </span> <span class="muControl">return-if</span> <a href='084console.mu.html#L23'>console</a>, <span class="Constant">0/false</span> <span class="Comment"># fake consoles should be plenty fast; never skip</span> -<span id="L104" class="LineNr">104 </span> result <span class="Special"><-</span> interactions-left? -<span id="L105" class="LineNr">105 </span>] +<span id="L99" class="LineNr"> 99 </span><span class="muRecipe">def</span> <a href='084console.mu.html#L99'>has-more-events?</a> <a href='084console.mu.html#L23'>console</a>:&:<a href='084console.mu.html#L23'>console</a><span class="muRecipe"> -> </span>result:bool [ +<span id="L100" class="LineNr">100 </span> <span class="Constant">local-scope</span> +<span id="L101" class="LineNr">101 </span> <span class="Constant">load-ingredients</span> +<span id="L102" class="LineNr">102 </span> <span class="muControl">return-if</span> <a href='084console.mu.html#L23'>console</a>, <span class="Constant">0/false</span> <span class="Comment"># fake events are processed as soon as they arrive</span> +<span id="L103" class="LineNr">103 </span> result <span class="Special"><-</span> interactions-left? +<span id="L104" class="LineNr">104 </span>] </pre> </body> </html> |