Skip to content
This repository was archived by the owner on Jun 20, 2023. It is now read-only.
Closed
Changes from all commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -783,7 +783,7 @@ button 要素に addEventListener すればよいように
リンクなどによる画面遷移がおこなわれる


[<img src="http://www.w3.org/TR/DOM-Level-3-Events/images/eventflow.svg" style="background-color:white" height="500px">](http://www.w3.org/TR/DOM-Level-3-Events/#event-flow)
[<img src="http://www.w3.org/TR/DOM-Level-3-Events/eventflow.svg" style="background-color:white" height="500px">](http://www.w3.org/TR/DOM-Level-3-Events/#event-flow)


先ほどのボタンの例では、img 要素の
Expand Down Expand Up @@ -963,7 +963,7 @@ fetch('/api/foo')
- [Promise に関する参考情報](https://developer.mozilla.org/ja/docs/Web/JavaScript/Reference/Global_Objects/Promise)
- [Promise 参考情報(重量級)](http://azu.github.io/promises-book/)
- [fetch API に関する参考情報](https://github.com/github/fetch)
- [Github API に関する参考情報](https://developer.github.com/v3/search/)
- [Github API に関する参考情報](https://developer.github.com/v3/)



Expand Down Expand Up @@ -1153,8 +1153,8 @@ Promise らしいやり方をとると `.then` で

fetch('/api/foo')
.then(doSomething)
.then(fetch('/api/bar'))
.then(function() { return fetch('/api/bar'); })
.then(doSomething)
.then(fetch('/api/buz'))
.then(function() { return fetch('/api/buz'); })
.then(doSomething);
```