1
0
mirror of https://github.com/ruanyf/es6tutorial.git synced 2025-05-28 21:32:20 +00:00

调整缩进

This commit is contained in:
yuwei 2016-01-11 11:38:19 +08:00
parent 214a72405d
commit 6528bdad9f

View File

@ -1173,7 +1173,7 @@ Generator函数的暂停执行的效果意味着可以把异步操作写在yi
function* loadUI() { function* loadUI() {
showLoadingScreen(); showLoadingScreen();
yield loadUIDataAsynchronously(); yield loadUIDataAsynchronously();
hideLoadingScreen(); hideLoadingScreen();
} }
var loader = loadUI(); var loader = loadUI();
// 加载UI // 加载UI