Skip to content

Commit d6f0c58

Browse files
authored
Merge pull request #338 from ut-code/develop
2 parents 933605d + 54c9959 commit d6f0c58

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

57 files changed

+1934
-773
lines changed

docs/2-browser-apps/04-class/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -150,11 +150,11 @@ class Student {
150150
age;
151151

152152
// コンストラクタを定義する
153-
constructor(name, yearOfBirth, currentYear) {
153+
constructor(name, birthYear, currentYear) {
154154
// this.name は作成されたインスタンスのプロパティ
155155
// name はインスタンス生成時に代入する値
156156
this.name = name;
157-
this.age = currentYear - yearOfBirth;
157+
this.age = currentYear - birthYear;
158158
}
159159

160160
introduceSelf() {

docs/3-web-servers/04-http-server/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,12 +70,12 @@ server.listen(3000);
7070

7171
```javascript
7272
server.addListener("request", (request, response) => {
73-
response.write("<b>Hello</b> World");
73+
response.write('<a href="https://www.google.com/">Hello</a> World');
7474
response.end();
7575
});
7676
```
7777

78-
<ViewSource url={import.meta.url} path="_samples/bold" noCodeSandbox />
78+
<ViewSource url={import.meta.url} path="_samples/hyperlink" noCodeSandbox />
7979

8080
</li>
8181
<li>

docs/3-web-servers/10-git-github-init/index.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,12 @@ $ git config --global user.email メールアドレス
7676

7777
<video src={setupGitVideo} controls muted />
7878

79+
現在 WSL 上の Ubuntu の Git では、デフォルトブランチの名前が `master` ですが、macOS では `main` になっています。また、GitHub ではデフォルトブランチの名前が `main` になっています。これらを統一するために、次のコマンドを実行してください。
80+
81+
```shell
82+
git config --global init.defaultBranch main
83+
```
84+
7985
## 公開鍵・秘密鍵ペアの作成と GitHub への登録
8086

8187
GitHub にブラウザからログインする際にはメールアドレスとパスワードを用いますが、Git のコマンドを用いて GitHub を使用する場合には、公開鍵・秘密鍵のペアを使用します。
@@ -138,7 +144,7 @@ ssh-ed25519 AAAAC3...P3D6i user@computer
138144

139145
## Git の拡張機能をインストールする
140146

141-
Git はコマンドラインから用いるツールですが、理解を深めるために VS Code の機能や拡張機能を併用していきます。次の拡張機能をインストールしておきましょう。
147+
VS Code 標準の機能だけでも多くのことができますが、より便利に利用するために拡張機能を併用していきます。次の拡張機能をインストールしておきましょう。
142148

143149
- [GitLens](https://marketplace.visualstudio.com/items?itemName=eamodio.gitlens)
144150
コミットの差分などが見やすくなり便利
462 KB
Binary file not shown.
492 KB
Binary file not shown.
69.6 KB
Binary file not shown.
-17.5 KB
Binary file not shown.
-106 KB
Binary file not shown.
-119 KB
Binary file not shown.
-159 KB
Binary file not shown.

0 commit comments

Comments
 (0)