Skip to content

Commit 203b8f9

Browse files
committed
fixes
1 parent 585b77d commit 203b8f9

File tree

5 files changed

+10
-10
lines changed

5 files changed

+10
-10
lines changed

1-js/09-classes/02-class-inheritance/article.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ let animal = new Animal("My animal");
3030
...And `Rabbit`:
3131

3232
```js
33-
class Rabbit extends Animal {
33+
class Rabbit {
3434
constructor(name) {
3535
this.name = name;
3636
}

1-js/12-generators-iterators/2-async-iterators-generators/article.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ The pattern is very common, it's not about users, but just about anything. For i
273273
What we'd like to have is an iterable source of commits, so that we could use it like this:
274274

275275
```js
276-
let repo = 'iliakan/javascript-tutorial-en'; // Github repository to get commits from
276+
let repo = 'javascript-tutorial/en.javascript.info'; // Github repository to get commits from
277277

278278
for await (let commit of fetchCommits(repo)) {
279279
// process commit
@@ -320,7 +320,7 @@ An example of use (shows commit authors in console):
320320

321321
let count = 0;
322322

323-
for await (const commit of fetchCommits('iliakan/javascript-tutorial-en')) {
323+
for await (const commit of fetchCommits('javascript-tutorial/en.javascript.info')) {
324324

325325
console.log(commit.author.login);
326326

5-network/01-fetch-basics/article.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ To get the response body, we need to use an additional method call.
5757
For instance, here we get a JSON-object with latest commits from Github:
5858

5959
```js run async
60-
let response = await fetch('https://api.github.com/repos/iliakan/javascript-tutorial-en/commits');
60+
let response = await fetch('https://api.github.com/repos/javascript-tutorial/en.javascript.info/commits');
6161

6262
*!*
6363
let commits = await response.json(); // read response body and parse as JSON
@@ -69,7 +69,7 @@ alert(commits[0].author.login);
6969
Or, the same using pure promises syntax:
7070

7171
```js run
72-
fetch('https://api.github.com/repos/iliakan/javascript-tutorial-en/commits')
72+
fetch('https://api.github.com/repos/javascript-tutorial/en.javascript.info/commits')
7373
.then(response => response.json())
7474
.then(commits => alert(commits[0].author.login));
7575
```
@@ -119,7 +119,7 @@ There's a Map-like headers object in `response.headers`.
119119
We can get individual headers or iterate over them:
120120

121121
```js run async
122-
let response = await fetch('https://api.github.com/repos/iliakan/javascript-tutorial-en/commits');
122+
let response = await fetch('https://api.github.com/repos/javascript-tutorial/en.javascript.info/commits');
123123

124124
// get one header
125125
alert(response.headers.get('Content-Type')); // application/json; charset=utf-8

5-network/02-fetch-progress/article.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ Here's the full code to get response and log the progress, more explanations fol
3939

4040
```js run async
4141
// Step 1: start the fetch and obtain a reader
42-
let response = await fetch('https://api.github.com/repos/iliakan/javascript-tutorial-en/commits?per_page=100');
42+
let response = await fetch('https://api.github.com/repos/javascript-tutorial/en.javascript.info/commits?per_page=100');
4343

4444
const reader = response.body.getReader();
4545

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@ See <https://github.com/javascript-tutorial/translate> for the details.
1010

1111
## Contributions
1212

13-
We'd also like to collaborate on the tutorial with other people.
13+
We'd also like to collaborate on the tutorial with other people.
1414

1515
Something's wrong? A topic is missing? Explain it to people, add as PR 👏
1616

17-
**You can edit the text in any editor.** The tutorial uses enhanced "markdown" format, easy to grasp. And if you want to see how it looks on-site, there's a server to run the tutorial locally at <https://github.com/iliakan/javascript-tutorial-server>.
17+
**You can edit the text in any editor.** The tutorial uses enhanced "markdown" format, easy to grasp. And if you want to see how it looks on-site, there's a server to run the tutorial locally at <https://github.com/javascript-tutorial/server>.
1818

1919
The list of contributors is available at <https://javascript.info/about#contributors>.
2020

@@ -36,4 +36,4 @@ It's very easy to add something new.
3636

3737
---
3838
💓
39-
Ilya Kantor
39+
Ilya Kantor @iliakan

0 commit comments

Comments
 (0)