Skip to content

Commit ab1aef2

Browse files
committed
Fix a typo in Chapter 10, add errata for paper book
1 parent 51cbe05 commit ab1aef2

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

10_modules.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ module. When this fact is clearly specified in the module itself, it
6868
can be used to figure out which other modules need to be present to be
6969
able to use a given module and to automatically load dependencies.
7070

71-
To separate modules in that way, each needs it own private ((scope)).
71+
To separate modules in that way, each needs its own private ((scope)).
7272

7373
Just putting your JavaScript code into different ((file))s does not
7474
satisfy these requirements. The files still share the same global

html/errata.html

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,12 @@ <h2>Chapter 2</h2>
2727
<p><strong>Page 34</strong> (Updating Bindings Succintly): Where it
2828
says <code>counter-</code> it should be <code>counter--</code>.</p>
2929

30+
<h2>Chapter 10</h2>
31+
32+
<p><strong>Page 168</strong> (Modules as Building Blocks): In “each
33+
needs it own private scope“, it should say “<em>its</em> own private
34+
scope“.
35+
3036
<h2>Chapter 20</h2>
3137

3238
<p><strong>Page 369</strong> (Directory Creation): `MKCOL` stands for

0 commit comments

Comments
 (0)