Skip to content

Commit b33a89a

Browse files
committed
Fix misspelled crow nest name
1 parent 98c0006 commit b33a89a

File tree

6 files changed

+17
-17
lines changed

6 files changed

+17
-17
lines changed

13_browser.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ no one would ever have paid any attention to it.
1919

2020
{{index decentralization, compatibility}}
2121

22-
Web technology has, from the start, been decentralized, not just
22+
Web technology has been decentralized from the start, not just
2323
technically but also in the way it evolved. Various browser vendors
2424
have added new functionality in ad hoc and sometimes poorly thought-out
2525
ways, which then, sometimes, ended up being adopted by others—and

16_game.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -407,7 +407,7 @@ Coin.prototype.size = new Vec(0.6, 0.6);
407407

408408
In [Chapter ?](dom#sin_cos), we saw that `Math.sin` gives us the
409409
y-coordinate of a point on a circle. That coordinate goes back and
410-
forth in a smooth wave form as we move along the circle, which makes
410+
forth in a smooth waveform as we move along the circle, which makes
411411
the sine function useful for modeling a wavy motion.
412412

413413
{{index pi}}
@@ -1151,7 +1151,7 @@ second). When the browser tab or window with our page is hidden,
11511151
`requestAnimationFrame` calls will be suspended until the tab or
11521152
window is shown again. In this case, the difference between `lastTime`
11531153
and `time` will be the entire time in which the page was hidden.
1154-
Advancing the game by that much in a single step will look silly and
1154+
Advancing the game by that much in a single step would look silly and
11551155
might cause weird side effects, such as the player falling through the
11561156
floor.
11571157

18_http.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -747,11 +747,11 @@ the example, and have our program handle the input, possibly using
747747

748748
{{index "value attribute", "input (HTML tag)", "text field", "textarea (HTML tag)"}}
749749

750-
Fields created by `<input>` tags with a type of `text` or `password`,
751-
as well as `<textarea>` tags, share a common ((interface)). Their
752-
((DOM)) elements have a `value` property that holds their current
753-
content as a string value. Setting this property to another string
754-
changes the field's content.
750+
Fields created by `<textarea>` tags, or `<input>` tags with a type of
751+
`text` or `password`, share a common ((interface)). Their ((DOM))
752+
elements have a `value` property that holds their current content as a
753+
string value. Setting this property to another string changes the
754+
field's content.
755755

756756
{{index "selectionStart property", "selectionEnd property"}}
757757

@@ -954,9 +954,9 @@ Hold [control]{keyname} (or [command]{keyname} on a Mac) to select multiple opti
954954
{{index file, "hard drive", "file system", security, "file field", "input (HTML tag)"}}
955955

956956
File fields were originally designed as
957-
a way to ((upload)) files from the browser's machine through a form.
957+
a way to ((upload)) files from the user's machine through a form.
958958
In modern browsers, they also provide a way to read such files from
959-
JavaScript programs. The field acts as a manner of gatekeeper. The
959+
JavaScript programs. The field acts as a kind of gatekeeper. The
960960
script cannot simply start reading private files from the user's
961961
computer, but if the user selects a file in such a field, the browser
962962
interprets that action to mean that the script may read the file.

19_paint.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -415,7 +415,7 @@ constructors.
415415

416416
{{index "br (HTML tag)", "flood fill", "select (HTML tag)", "PixelEditor class", dispatch}}
417417

418-
_Tools_ are things like drawing pixels or filling in an area. The
418+
The _tools_ do things like drawing pixels or filling in an area. The
419419
application shows the set of available tools as a `<select>` field.
420420
The currently selected tool determines what happens when the user
421421
interacts with the picture with a pointer device. The set of
@@ -760,8 +760,8 @@ function startLoad(dispatch) {
760760
To get access to a file on the user's computer, we need the user to
761761
select the file through a file input field. But I don't want the load
762762
button to look like a file input field, so we create the file input
763-
when the button is clicked and then pretend that it itself was
764-
clicked.
763+
when the button is clicked and then pretend that this file input
764+
itself was clicked.
765765

766766
{{index "FileReader class", "img (HTML tag)", "readAsDataURL method", "Picture class"}}
767767

@@ -1283,7 +1283,7 @@ picture on the left, not the picture on the right.
12831283

12841284
{{figure {url: "img/line-grid.svg", alt: "Two pixelated lines, one light, skipping across pixels diagonally, and one heavy, with all pixels connected horizontally or vertically", width: "6cm"}}}
12851285

1286-
If we have code that draws a line between two arbitrary points, we
1286+
Finally, if we have code that draws a line between two arbitrary points, we
12871287
might as well use it to also define a `line` tool,
12881288
which draws a straight line between the start and end of a drag.
12891289

code/crow-tech.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"Big Maple-Woods", "Big Maple-Fabienne's Garden", "Fabienne's Garden-Woods",
55
"Fabienne's Garden-Cow Pasture", "Cow Pasture-Big Oak", "Big Oak-Butcher Shop",
66
"Butcher Shop-Tall Poplar", "Tall Poplar-Sportsgrounds", "Tall Poplar-Chateau",
7-
"Chateau-Great Pine", "Great Pine-Jaques' Farm", "Jaques' Farm-Hawthorn",
7+
"Chateau-Great Pine", "Great Pine-Jacques' Farm", "Jacques' Farm-Hawthorn",
88
"Great Pine-Hawthorn", "Hawthorn-Gilles' Garden", "Great Pine-Gilles' Garden",
99
"Gilles' Garden-Big Oak", "Gilles' Garden-Butcher Shop", "Chateau-Butcher Shop"
1010
]
@@ -15,7 +15,7 @@
1515
storage["cache in the oak"] = "A hollow above the third big branch from the bottom. Several pieces of bread and a pile of acorns."
1616
storage["cache in the meadow"] = "Buried below the patch of nettles (south side). A dead snake."
1717
storage["cache under the hedge"] = "Middle of the hedge at Gilles' garden. Marked with a forked twig. Two bottles of beer."
18-
storage["enemies"] = ["Farmer Jaques' dog", "The butcher", "That one-legged jackdaw", "The boy with the airgun"]
18+
storage["enemies"] = ["Farmer Jacques' dog", "The butcher", "That one-legged jackdaw", "The boy with the airgun"]
1919
if (name == "Church Tower" || name == "Hawthorn" || name == "Chateau")
2020
storage["events on 2017-12-21"] = "Deep snow. Butcher's garbage can fell over. We chased off the ravens from Saint-Vulbas."
2121
let hash = 0

code/journal.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ var JOURNAL = [
9292
];
9393

9494
// This makes sure the data is exported in node.js —
95-
// `require('./path/to/jaques_journal.js')` will get you the array.
95+
// `require('./path/to/journal.js')` will get you the array.
9696
if (typeof module != "undefined" && module.exports && (typeof window == "undefined" || window.exports != exports))
9797
module.exports = JOURNAL;
9898
if (typeof global != "undefined" && !global.JOURNAL)

0 commit comments

Comments
 (0)