From 1932bfbde17ac427bc8fc309bb27b6328e01117c Mon Sep 17 00:00:00 2001 From: Steven Rogalsky Date: Tue, 2 Apr 2019 11:47:30 -0700 Subject: [PATCH 1/3] Typo in article.md --- 1-js/09-classes/01-class-patterns/article.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/1-js/09-classes/01-class-patterns/article.md b/1-js/09-classes/01-class-patterns/article.md index 837941cb..ca120f71 100644 --- a/1-js/09-classes/01-class-patterns/article.md +++ b/1-js/09-classes/01-class-patterns/article.md @@ -7,7 +7,7 @@ In object-oriented programming, a *class* is an extensible program-code-template There's a special syntax construct and a keyword `class` in JavaScript. But before studying it, we should consider that the term "class" comes from the theory of object-oriented programming. The definition is cited above, and it's language-independent. -In JavaScript there are several well-known programming patterns to make classes even without using the `class` keyword. People talk about "classes" meaning no only those defined with `class`, but also with these patterns. +In JavaScript there are several well-known programming patterns to make classes even without using the `class` keyword. People talk about "classes" meaning not only those defined with `class`, but also with these patterns. The `class` construct will be described in the next chapter, but in JavaScript it's a "syntax sugar" and an extension of the prototypal class pattern described here. From 94d30ce921132af0e08130fba557ca781f6847ea Mon Sep 17 00:00:00 2001 From: Steven Rogalsky Date: Tue, 2 Apr 2019 12:33:59 -0700 Subject: [PATCH 2/3] Fix another typo --- 1-js/13-modules/03-modules-dynamic-imports/article.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/1-js/13-modules/03-modules-dynamic-imports/article.md b/1-js/13-modules/03-modules-dynamic-imports/article.md index 513cdf89..d8de2bcf 100644 --- a/1-js/13-modules/03-modules-dynamic-imports/article.md +++ b/1-js/13-modules/03-modules-dynamic-imports/article.md @@ -3,7 +3,7 @@ Export and import statements that we covered in previous chaters are called "static". -What's because they are indeed static. The syntax is very strict. +That's because they are indeed static. The syntax is very strict. First, we can't dynamicaly generate any parameters of `import`. From a649079b666239c2cd88703346823af7ffc92e09 Mon Sep 17 00:00:00 2001 From: Steven Rogalsky Date: Tue, 2 Apr 2019 22:54:12 -0700 Subject: [PATCH 3/3] More typos --- 2-ui/1-document/04-searching-elements-dom/article.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/2-ui/1-document/04-searching-elements-dom/article.md b/2-ui/1-document/04-searching-elements-dom/article.md index 3a7a9aee..4ddc8db0 100644 --- a/2-ui/1-document/04-searching-elements-dom/article.md +++ b/2-ui/1-document/04-searching-elements-dom/article.md @@ -266,8 +266,8 @@ All methods `"getElementsBy*"` return a *live* collection. Such collections alwa In the example below, there are two scripts. -1. The first one creates a reference to the collection of `
`. As of now, it's length is `1`. -2. The second scripts runs after the browser meets one more `
`, so it's length is `2`. +1. The first one creates a reference to the collection of `
`. As of now, its length is `1`. +2. The second scripts runs after the browser meets one more `
`, so its length is `2`. ```html run
First div