Skip to content

Commit 3868fa5

Browse files
committed
Use a simpler amazon link in the pdf book
1 parent cb1a714 commit 3868fa5

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

19_paint.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -42,15 +42,15 @@ We will structure the editor interface as a number of
4242
_((component))s_, objects that are responsible for a piece of the
4343
((DOM)), and may contain other components inside them.
4444

45-
The ((state)) of the application consists of the picture, the selected
46-
tool, and the selected color. We'll set things up so that the state
47-
lives in a single value, and the interface components always base the
48-
way they look on the current state.
45+
The ((state)) of the application consists of the current picture, the
46+
selected tool, and the selected color. We'll set things up so that the
47+
state lives in a single value, and the interface components always
48+
base the way they look on the current state.
4949

5050
To see why this is important, let's consider the
5151
alternative—distributing pieces of state throughout the interface. Up
52-
to a certain point, this is much easier to program. We can just put in
53-
a ((color field)), wire it up to store its value somewhere when it
52+
to a certain point, this is easier to program. We can just put in a
53+
((color field)), wire it up to store its value somewhere when it
5454
changes, and have all operations that need to know the current color
5555
look at that value.
5656

pdf/book.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@
110110
111111
\noindent You can buy a print version of this book, with an extra
112112
bonus chapter included, printed by No Starch Press at
113-
\url{http://www.amazon.com/gp/product/1593275846/ref=as_li_qf_sp_asin_il_tl?ie=UTF8&camp=1789&creative=9325&creativeASIN=1593275846&linkCode=as2&tag=marijhaver-20&linkId=VPXXXSRYC5COG5R5}.
113+
\url{https://www.amazon.com/Eloquent-JavaScript-2nd-Ed-Introduction/dp/1593275846}.
114114
115115
\tableofcontents
116116

0 commit comments

Comments
 (0)