Skip to content

Commit f3dbf39

Browse files
author
lihln
committedSep 28, 2017
fetch语义错误
1 parent 2585e72 commit f3dbf39

File tree

2 files changed

+24
-3
lines changed

2 files changed

+24
-3
lines changed
 

‎.gitignore

+22-1
Original file line numberDiff line numberDiff line change
@@ -1 +1,22 @@
1-
npm-debug.log
1+
git # OS X
2+
Icon?
3+
._*
4+
5+
# Windows
6+
Thumbs.db
7+
ehthumbs.db
8+
Desktop.ini
9+
10+
# Linux
11+
.directory
12+
*~
13+
14+
# npm
15+
node_modules
16+
dist
17+
*.gz
18+
19+
# webstorm
20+
.idea/
21+
22+

‎docs/arraybuffer.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -894,8 +894,8 @@ Fetch API取回的数据,就是`ArrayBuffer`对象。
894894

895895
```javascript
896896
fetch(url)
897-
.then(function(request){
898-
return request.arrayBuffer()
897+
.then(function(response){
898+
return response.arrayBuffer()
899899
})
900900
.then(function(arrayBuffer){
901901
// ...

0 commit comments

Comments
 (0)
Please sign in to comment.