1
0
mirror of https://github.com/ruanyf/es6tutorial.git synced 2025-05-24 18:32:22 +00:00

edit app.css

This commit is contained in:
ruanyf 2014-04-23 21:56:31 +08:00
parent 7613391339
commit 1f9a9f4177
2 changed files with 2 additions and 2 deletions

View File

@ -104,7 +104,7 @@ body {
margin-left: 20px;
margin-right: 20px;
font-size: 0.8rem;
line-height:1.6rem;
line-height:1.3rem;
/* border: 1px solid black; */
}

View File

@ -137,7 +137,7 @@ Promise.all(promises).then(function(posts) {
```
## Promise.resolve方法生成新的Promise对象
## Promise.resolve方法
有时需要将现有对象转为Promise对象Promise.resolve方法就起到这个作用。