Skip to content

Commit aa8f6ff

Browse files
freddenHoonDongKang
authored andcommitted
Correct mis-use of "it's"
1 parent 7d4ae54 commit aa8f6ff

8 files changed

Lines changed: 13 additions & 13 deletions

File tree

1-js/05-data-types/10-destructuring-assignment/article.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
개발을 하다 보면 함수에 객체나 배열을 전달해야 하는 경우가 생기곤 합니다. 가끔은 객체나 배열에 저장된 데이터 전체가 아닌 일부만 필요한 경우가 생기기도 하죠.
88

99
이럴 때 객체나 배열을 변수로 '분해'할 수 있게 해주는 특별한 문법인 *구조 분해 할당(destructuring assignment)* 을 사용할 수 있습니다. 이 외에도 함수의 매개변수가 많거나 매개변수 기본값이 필요한 경우 등에서 구조 분해(destructuring)는 그 진가를 발휘합니다.
10+
*Destructuring assignment* is a special syntax that allows us to "unpack" arrays or objects into a bunch of variables, as sometimes that's more convenient.
1011

1112
## 배열 분해하기
1213

@@ -69,7 +70,6 @@ alert( title ); // Consul
6970
let [a, b, c] = "abc"; // ["a", "b", "c"]
7071
let [one, two, three] = new Set([1, 2, 3]);
7172
```
72-
7373
````
7474

7575

2-ui/1-document/09-size-and-scroll/article.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
width: 300px;
1818
height: 200px;
1919
border: 25px solid #E8C48F;
20-
padding: 20px;
21-
overflow: auto;
20+
padding: 20px;
21+
overflow: auto;
2222
}
2323
</style>
2424
```

3-frames-and-windows/01-popup-windows/article.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ Settings for `params`:
8787

8888
There is also a number of less supported browser-specific features, which are usually not used. Check <a href="https://developer.mozilla.org/en/DOM/window.open">window.open in MDN</a> for examples.
8989

90-
## Example: a minimalistic window
90+
## Example: a minimalistic window
9191

9292
Let's open a window with minimal set of features, just to see which of them browser allows to disable:
9393

@@ -120,7 +120,7 @@ Rules for omitted settings:
120120

121121
## Accessing popup from window
122122

123-
The `open` call returns a reference to the new window. It can be used to manipulate it's properties, change location and even more.
123+
The `open` call returns a reference to the new window. It can be used to manipulate its properties, change location and even more.
124124

125125
In this example, we generate popup content from JavaScript:
126126

@@ -239,7 +239,7 @@ There's also `window.onscroll` event.
239239

240240
Theoretically, there are `window.focus()` and `window.blur()` methods to focus/unfocus on a window. And there are also `focus/blur` events that allow to catch the moment when the visitor focuses on a window and switches elsewhere.
241241

242-
Although, in practice they are severely limited, because in the past evil pages abused them.
242+
Although, in practice they are severely limited, because in the past evil pages abused them.
243243

244244
For instance, look at this code:
245245

@@ -257,10 +257,10 @@ Still, there are some use cases when such calls do work and can be useful.
257257

258258
For instance:
259259

260-
- When we open a popup, it's might be a good idea to run a `newWindow.focus()` on it. Just in case, for some OS/browser combinations it ensures that the user is in the new window now.
260+
- When we open a popup, it might be a good idea to run `newWindow.focus()` on it. Just in case, for some OS/browser combinations it ensures that the user is in the new window now.
261261
- If we want to track when a visitor actually uses our web-app, we can track `window.onfocus/onblur`. That allows us to suspend/resume in-page activities, animations etc. But please note that the `blur` event means that the visitor switched out from the window, but they still may observe it. The window is in the background, but still may be visible.
262262

263-
## Summary
263+
## Summary
264264

265265
Popup windows are used rarely, as there are alternatives: loading and displaying information in-page, or in iframe.
266266

3-frames-and-windows/03-cross-window-communication/article.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ Arguments:
268268
`targetOrigin`
269269
: Specifies the origin for the target window, so that only a window from the given origin will get the message.
270270

271-
The `targetOrigin` is a safety measure. Remember, if the target window comes from another origin, we can't read it's `location` in the sender window. So we can't be sure which site is open in the intended window right now: the user could navigate away, and the sender window has no idea about it.
271+
The `targetOrigin` is a safety measure. Remember, if the target window comes from another origin, we can't read its `location` in the sender window. So we can't be sure which site is open in the intended window right now: the user could navigate away, and the sender window has no idea about it.
272272

273273
Specifying `targetOrigin` ensures that the window only receives the data if it's still at the right site. Important when the data is sensitive.
274274

4-binary/01-arraybuffer-binary-arrays/article.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ Let's eliminate a possible source of confusion. `ArrayBuffer` has nothing in com
3030
3131
**To manipulate an `ArrayBuffer`, we need to use a "view" object.**
3232
33-
A view object does not store anything on it's own. It's the "eyeglasses" that give an interpretation of the bytes stored in the `ArrayBuffer`.
33+
A view object does not store anything on its own. It's the "eyeglasses" that give an interpretation of the bytes stored in the `ArrayBuffer`.
3434
3535
For instance:
3636

5-network/06-fetch-api/article.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ The `integrity` option allows to check if the response matches the known-ahead c
179179
180180
As described in the [specification](https://w3c.github.io/webappsec-subresource-integrity/), supported hash-functions are SHA-256, SHA-384, and SHA-512, there might be others depending on a browser.
181181
182-
For example, we're downloading a file, and we know that it's SHA-256 checksum is "abcdef" (a real checksum is longer, of course).
182+
For example, we're downloading a file, and we know that its SHA-256 checksum is "abcdef" (a real checksum is longer, of course).
183183
184184
We can put it in the `integrity` option, like this:
185185

7-animation/3-js-animation/article.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ Function `animate` accepts 3 parameters that essentially describes the animation
159159
}
160160
```
161161

162-
It's graph:
162+
Its graph:
163163
![](linear.svg)
164164

165165
That's just like `transition-timing-function: linear`. There are more interesting variants shown below.

9-regular-expressions/04-regexp-anchors/article.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ alert( /^Mary/.test(str1) ); // true
1616
위와 유사하게 `pattern:snow$`를 사용해서 문자열이 `snow`로 끝나는지 검사할 수 있습니다.
1717

1818
```js run
19-
let str1 = "it's fleece was white as snow";
19+
let str1 = "its fleece was white as snow";
2020
alert( /snow$/.test(str1) ); // true
2121
```
2222

0 commit comments

Comments
 (0)