Skip to content

Commit 9ad7cb9

Browse files
committed
Add an errata page, note problem in mousemove example
1 parent 66f30b3 commit 9ad7cb9

2 files changed

Lines changed: 30 additions & 0 deletions

File tree

html/errata.html

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
<!doctype html>
2+
<head>
3+
<meta charset="utf-8">
4+
<title>Eloquent JavaScript :: Errata</title>
5+
<link rel=stylesheet href="css/ejs.css">
6+
7+
<style>
8+
</style>
9+
</head>
10+
11+
<article>
12+
13+
<h1>Errata<div style="font-size: 70%"><a class="subtlelink" href="index.html">Eloquent JavaScript</a></div></h2>
14+
15+
<p>These are the known mistakes in the <strong>second edition</strong> of the book. For
16+
errata in the first edition,
17+
see <a href="http://eloquentjavascript.net/1st_edition/errata.html">this
18+
page</a>.</p>
19+
20+
<h2>Chapter 14</h2>
21+
22+
<p><strong>Page 242</strong> (Mouse Motion): The example
23+
uses <code>event.which</code> to detect mouse button release. This
24+
only works in Chrome and Safari. See
25+
the <a href="14_event.html#c_xBQPHox4ts">updated code</a>
26+
and <a href="14_event.html#p_fndkFYbayW">comment</a> for a better
27+
way.</p>
28+
29+
</article>

html/index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ <h2>Other pages</h2>
9595

9696
<ul class="links">
9797
<li><a href="code">Code sandbox and exercise solutions</a></li>
98+
<li><a href="errata.html">Errata for the paper book</a></li>
9899
<li><a href="http://eloquentjavascript.net/Eloquent_JavaScript.pdf">This book as a single PDF file</a></li>
99100
<li><a href="http://eloquentjavascript.net/Eloquent_JavaScript.epub">This book as an EPUB file</a></li>
100101
<li><a href="http://eloquentjavascript.net/1st_edition">The first edition of the book</a></li>

0 commit comments

Comments
 (0)