Skip to content

Commit

Permalink
fetch语义错误
Browse files Browse the repository at this point in the history
  • Loading branch information
lihln committed Sep 28, 2017
1 parent 2585e72 commit f3dbf39
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 3 deletions.
23 changes: 22 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,22 @@
npm-debug.log
git # OS X
Icon?
._*

# Windows
Thumbs.db
ehthumbs.db
Desktop.ini

# Linux
.directory
*~

# npm
node_modules
dist
*.gz

# webstorm
.idea/


4 changes: 2 additions & 2 deletions docs/arraybuffer.md
Original file line number Diff line number Diff line change
Expand Up @@ -894,8 +894,8 @@ Fetch API取回的数据,就是`ArrayBuffer`对象。

```javascript
fetch(url)
.then(function(request){
return request.arrayBuffer()
.then(function(response){
return response.arrayBuffer()
})
.then(function(arrayBuffer){
// ...
Expand Down

0 comments on commit f3dbf39

Please sign in to comment.