Commit graph

50 commits

Author SHA1 Message Date
Peter Roche
9a4bc89d6d
Update article.md
"such as browsers" -> "like in browsers"
2020-02-06 23:27:22 -07:00
Peter Roche
537c33493a
Update article.md
Several punctuation changes, yielding:

"1. We use the browser [fetch](info:fetch) method to download from a remote URL. It allows us to supply authorization and other headers if needed -- here GitHub requires `User-Agent`.
2. The fetch result is parsed as JSON. That's again a `fetch`-specific method.
3. We should get the next page URL from the `Link` header of the response. It has a special format, so we use a regexp for that. The next page URL may look like `https://api.github.com/repositories/93253246/commits?page=2`. It's generated by GitHub itself.
4. Then we yield all commits received, and when they finish, the next `while(url)` iteration will trigger, making one more request."
2020-02-06 23:21:57 -07:00
Peter Roche
671c4d41ee
Update article.md
"returns the result outside" -> "returns the result to the outside"
2020-02-06 22:15:48 -07:00
Peter Roche
4d0ceef055
Update article.md
"yield is a two-way road" -> "yield is a two-way street"

"Two way street" is by far the more common and accepted way to say this. If you look up "two-way road" you will typically be redirected to "two-way street".
2020-02-06 21:47:38 -07:00
Peter Roche
d1a455080d
Update article.md
"We can get loop over values by `for..of`:" -> "We can loop over their values using `for..of`"
2020-02-03 23:37:29 -07:00
Violet Bora Lee
e85e48f8d0 minor fixes 2020-01-27 15:24:23 +09:00
Ilya Kantor
994390265a fixes #1669 2019-12-27 11:40:59 +03:00
Ilya Kantor
4587fde235 re-import images (Sketch update) 2019-11-30 08:51:52 +03:00
Ilya Kantor
120700e1f2 minor 2019-11-13 22:18:15 +03:00
Ilya Kantor
f759f38544 minor 2019-11-13 22:15:43 +03:00
Ilya Kantor
57e9dc8302
Merge pull request #1578 from hrodward/patch-34
Update article.md
2019-11-06 21:06:35 +03:00
Ilya Kantor
7aa527c383
Merge pull request #1575 from hrodward/patch-31
Update task.md
2019-11-06 21:04:43 +03:00
hrodward
9f158f9a75
Update article.md
Grammar suggestions
2019-11-04 10:45:48 +01:00
hrodward
fccf4615b6
Update task.md
Grammar suggestions
2019-11-04 08:49:08 +01:00
hrodward
8dfb5e8e6e
Update article.md
Grammar suggestions
2019-11-04 08:31:32 +01:00
Ilya Kantor
7418213b66 re-import images from Sketch (no changes) 2019-10-10 17:08:16 +03:00
Daria Pimenova
f6452cb075
Update article.md 2019-10-02 15:32:37 +04:00
Daria Pimenova
496fed5852
Update article.md 2019-10-01 15:53:13 +04:00
fires3as0n
1360bf91db
Update article.md
fixed a typo
2019-09-22 10:59:04 +03:00
Ilya Kantor
77dc1ba4b3 fix 2019-09-21 22:12:22 +03:00
va-z
bec7821d96
Typo fix 2019-09-06 21:16:32 +05:00
Ilya Kantor
39309e6a07 minor 2019-08-14 12:36:24 +03:00
Ilya Kantor
9bfc8cfa9c minor 2019-08-11 14:24:31 +03:00
Ilya Kantor
4d44df6a3a Embed font to SVG 2019-08-11 14:17:38 +03:00
Ilya Kantor
69acca8637 minor 2019-08-10 16:32:43 +03:00
Ilya Kantor
919ddb8eaa minor 2019-08-09 13:47:34 +03:00
Ilya Kantor
7ba2f4f965 minor 2019-08-08 22:35:53 +03:00
Ilya Kantor
8a3e1fdb07 minor 2019-08-08 21:28:12 +03:00
Ilya Kantor
7e32cf295f minor 2019-08-08 21:22:08 +03:00
Ilya Kantor
db9d685798 cleanup 2019-07-29 14:16:28 +03:00
Ilya Kantor
3ba28aa104 images to svg 2019-07-28 15:42:37 +03:00
Ilya Kantor
3caa91137e fixes 2019-07-18 12:24:31 +03:00
Ilya Kantor
52ef3256c9 improvements 2019-07-16 19:23:04 +03:00
Gleb
a72ced0dc6
Remove redundant article 2019-07-08 17:49:48 +03:00
Ilya Kantor
9b95b5ee0e minor 2019-06-18 16:10:06 +03:00
jasmaa
dfb4f00ced Merge branch 'master' of https://github.com/javascript-tutorial/en.javascript.info into minor-fixes 2019-06-14 08:36:05 -04:00
Ilya Kantor
f6e2c899c2
Merge pull request #1048 from DeveloperDavo/master
Update article.md
2019-06-12 09:48:33 +03:00
jasmaa
3e2e8c7e23
Spelling and grammar fixes to generators and modules 2019-06-11 22:35:05 -04:00
Developer Davo
bfd62b902a
Update article.md 2019-06-11 16:51:04 +02:00
Ilya Kantor
82ab3fb82b minor 2019-06-05 11:29:20 +03:00
Alexey Pyltsyn
ca92aed539 1-js/12-generators-iterators/2-async-iterators-generators: fix typo 2019-05-01 16:44:47 +03:00
Alexey Pyltsyn
4c2ab7343d Replace Github with GitHub 2019-04-24 00:41:59 +03:00
Alexey Pyltsyn
c5ce5578fc Fix name of JavaScript 2019-04-23 11:54:43 +03:00
Ilya Kantor
203b8f9f07 fixes 2019-04-22 17:52:53 +03:00
Sergey Zelenov
4f6864e1b0
fix typo in article title
iteration -> iterators
2019-04-19 14:10:06 +02:00
Ilya Kantor
8f13d61a8b Sketch editor update (no important image changes) 2019-04-05 09:17:57 +03:00
Ilya Kantor
482dd2bc85
Merge pull request #846 from amslezak/patch-1
Spelling fix: fasion -> fashion
2019-03-20 16:06:55 +03:00
Ilya Kantor
c8e7222bb2 fix 2019-03-09 10:37:09 +03:00
Andy Slezak
d51508746a
Spelling fix: fasion -> fashion 2019-03-08 23:31:00 -05:00
Ilya Kantor
5bca8a5ee2 move generators 2019-03-07 13:51:21 +03:00