Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
wants to merge 2 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
8 changes: 4 additions & 4 deletions doc/html/tutorial.html
Expand Up @@ -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 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: #929292;">% </span><span style="color: #929292;">events.
</span> <span style="color: #28439B;">wf</span>:<span style="color: #28439B;">wire</span>(mybutton, [ </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=mouseover, postback=my_mouseover_event },
#<span style="color: #28439B;">event</span> { type=click, postback=my_click_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 } #<span style="color: #28439B;">event</span> { type=mouseout, postback=my_mouseout_event }
]), ]),
[ [
Expand All @@ -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;">event</span>(my_click_event) -&gt;
?<span style="color: #28439B;">PRINT</span>({click, <span style="color: #000000;">now</span>()}); ?<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;">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> </pre>




Expand Down Expand Up @@ -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 <b>Exercise:</b> Modify my_page.erl to display <b>TWO</b> counters. When the
user presses the 'Submit' button, one counter should get user presses the 'Submit' button, one counter should get
incremented, the other counter should get doubled. The server 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. the browser.
</p> </p>
</div> </div>
Expand Down