mirror of
https://github.com/ruanyf/es6tutorial.git
synced 2025-05-24 18:32:22 +00:00
Merge branch 'gh-pages' of github.com:ruanyf/es6tutorial into gh-pages
This commit is contained in:
commit
71a8a26585
23
.gitignore
vendored
23
.gitignore
vendored
@ -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/
|
||||
|
||||
|
||||
|
@ -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){
|
||||
// ...
|
||||
|
@ -1,7 +1,7 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<link rel="stylesheet" href="app/bower_components/normalize-css/normalize.css">
|
||||
<link rel="stylesheet" href="css/app.css">
|
||||
@ -23,7 +23,7 @@
|
||||
<div id="back_to_top">back to top</div>
|
||||
<div id="edit">edit</div>
|
||||
<div id="loading">Loading ...</div>
|
||||
<div id="error">Opps! ... File not found!</div>
|
||||
<div id="error">Oops! ... File not found!</div>
|
||||
<div id="flip"><div id="pageup">上一章</div><div id="pagedown">下一章</div></div>
|
||||
<div class="progress-indicator-2"></div>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user