Skip to content

Commit 333a00b

Browse files
authored
Merge pull request #924 from dragonwocky/patch-4
Typos
2 parents de9f268 + 922170b commit 333a00b

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

1-js/13-modules/02-import-export/article.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -355,7 +355,7 @@ export {login, logout};
355355
import User from './user.js';
356356
export {User};
357357

358-
import Githib from './providers/github.js';
358+
import Github from './providers/github.js';
359359
export {Github};
360360
...
361361
```
@@ -370,7 +370,7 @@ export {login, logout} from './helpers.js';
370370

371371
export {default as User} from './user.js';
372372

373-
export {default as Githib} from './providers/github.js';
373+
export {default as Github} from './providers/github.js';
374374
...
375375
```
376376

6-data-storage/01-cookie/article.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ document.cookie = "user=John; max-age=0";
167167

168168
The cookie should be transferred only over HTTPS.
169169

170-
**By default, if we set a cookie at `http://site.com`, then it also appears at `https://site.com` and vise versa.**
170+
**By default, if we set a cookie at `http://site.com`, then it also appears at `https://site.com` and vice versa.**
171171

172172
That is, cookies are domain-based, they do not distinguish between the protocols.
173173

6-data-storage/03-indexeddb/article.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ To do an upgrade, there are two main ways:
142142
1. We can compare versions and run per-version operations.
143143
2. Or we can get a list of existing object stores as `db.objectStoreNames`. That object is a [DOMStringList](https://html.spec.whatwg.org/multipage/common-dom-interfaces.html#domstringlist), and it provides `contains(name)` method to check for the existance. And then we can do updates depending on what exists.
144144

145-
Here's the demo of thee second approach:
145+
Here's the demo of the second approach:
146146

147147
```js
148148
let openRequest = indexedDB.open("db", 1);

0 commit comments

Comments
 (0)