From f776557046036b750ef8cfd82d628f9c16ea9c3a Mon Sep 17 00:00:00 2001 From: dragonwocky Date: Thu, 18 Apr 2019 16:03:05 +1000 Subject: [PATCH 1/3] import typo --- 1-js/13-modules/02-import-export/article.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/1-js/13-modules/02-import-export/article.md b/1-js/13-modules/02-import-export/article.md index 1e1df336..ff703c6e 100644 --- a/1-js/13-modules/02-import-export/article.md +++ b/1-js/13-modules/02-import-export/article.md @@ -355,7 +355,7 @@ export {login, logout}; import User from './user.js'; export {User}; -import Githib from './providers/github.js'; +import Github from './providers/github.js'; export {Github}; ... ``` @@ -370,7 +370,7 @@ export {login, logout} from './helpers.js'; export {default as User} from './user.js'; -export {default as Githib} from './providers/github.js'; +export {default as Github} from './providers/github.js'; ... ``` From a63d623bd2e830a6d352ff3784d86e62d6029ae9 Mon Sep 17 00:00:00 2001 From: dragonwocky Date: Thu, 18 Apr 2019 18:11:29 +1000 Subject: [PATCH 2/3] vise -> vice --- 6-data-storage/01-cookie/article.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/6-data-storage/01-cookie/article.md b/6-data-storage/01-cookie/article.md index fcf52f40..ee16cb36 100644 --- a/6-data-storage/01-cookie/article.md +++ b/6-data-storage/01-cookie/article.md @@ -167,7 +167,7 @@ document.cookie = "user=John; max-age=0"; The cookie should be transferred only over HTTPS. -**By default, if we set a cookie at `http://site.com`, then it also appears at `https://site.com` and vise versa.** +**By default, if we set a cookie at `http://site.com`, then it also appears at `https://site.com` and vice versa.** That is, cookies are domain-based, they do not distinguish between the protocols. From 922170b619459fc67013502e71741d0dce7cc50f Mon Sep 17 00:00:00 2001 From: dragonwocky Date: Thu, 18 Apr 2019 18:26:51 +1000 Subject: [PATCH 3/3] thee -> the --- 6-data-storage/03-indexeddb/article.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/6-data-storage/03-indexeddb/article.md b/6-data-storage/03-indexeddb/article.md index dbe38674..d7fc5bbb 100644 --- a/6-data-storage/03-indexeddb/article.md +++ b/6-data-storage/03-indexeddb/article.md @@ -142,7 +142,7 @@ To do an upgrade, there are two main ways: 1. We can compare versions and run per-version operations. 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. -Here's the demo of thee second approach: +Here's the demo of the second approach: ```js let openRequest = indexedDB.open("db", 1);