Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Fixes to a couple of typos in the nitrogen tutorial #20

Closed
wants to merge 2 commits into from

2 participants

@belucid

Thanks for the great tutorial! It's been helpful.

belucid added some commits
@belucid belucid Fix two typos in the tutorial: missing commas in a list of records (c…
…ompiles now, due to an Erlang parser bug that's going to be fixed soon) and an unbound variable.
01e35ff
@belucid belucid Fixed a typo in the tutorial. 0a832e3
@choptastic choptastic closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Dec 22, 2010
  1. @belucid

    Fix two typos in the tutorial: missing commas in a list of records (c…

    belucid authored
    …ompiles now, due to an Erlang parser bug that's going to be fixed soon) and an unbound variable.
Commits on Dec 23, 2010
  1. @belucid

    Fixed a typo in the tutorial.

    belucid authored
This page is out of date. Refresh to see the latest.
Showing with 4 additions and 4 deletions.
  1. +4 −4 doc/html/tutorial.html
View
8 doc/html/tutorial.html
@@ -2430,8 +2430,8 @@ <h4 id="sec-40_1_1"><span class="section-number-4">40.1.1</span> More Event Exam
<span style="color: #929292;">% </span><span style="color: #929292;">'mouseover', 'click', and 'mouseout' are standard Javascript
</span> <span style="color: #929292;">% </span><span style="color: #929292;">events.
</span> <span style="color: #28439B;">wf</span>:<span style="color: #28439B;">wire</span>(mybutton, [
- #<span style="color: #28439B;">event</span> { type=mouseover, postback=my_mouseover_event }
- #<span style="color: #28439B;">event</span> { type=click, postback=my_click_event }
+ #<span style="color: #28439B;">event</span> { type=mouseover, postback=my_mouseover_event },
+ #<span style="color: #28439B;">event</span> { type=click, postback=my_click_event },
#<span style="color: #28439B;">event</span> { type=mouseout, postback=my_mouseout_event }
]),
[
@@ -2441,7 +2441,7 @@ <h4 id="sec-40_1_1"><span class="section-number-4">40.1.1</span> More Event Exam
<span style="color: #28439B;">event</span>(my_click_event) -&gt;
?<span style="color: #28439B;">PRINT</span>({click, <span style="color: #000000;">now</span>()});
<span style="color: #28439B;">event</span>(<span style="color: #000000;">OtherEvent</span>) -&gt;
- ?<span style="color: #28439B;">PRINT</span>({other, <span style="color: #000000;">MyEvent</span>, <span style="color: #000000;">now</span>()}).
+ ?<span style="color: #28439B;">PRINT</span>({other, <span style="color: #000000;">OtherEvent</span>, <span style="color: #000000;">now</span>()}).
</pre>
@@ -2825,7 +2825,7 @@ <h4 id="sec-48_1_1"><span class="section-number-4">48.1.1</span> Session State <
<b>Exercise:</b> Modify my_page.erl to display <b>TWO</b> counters. When the
user presses the 'Submit' button, one counter should get
incremented, the other counter should get doubled. The server
-should remember the counter even if the closes and then re-opens
+should remember the counters even if the user closes and then re-opens
the browser.
</p>
</div>
Something went wrong with that request. Please try again.