mirror of
https://github.com/ruanyf/es6tutorial.git
synced 2025-05-28 21:32:20 +00:00
调整缩进
This commit is contained in:
parent
214a72405d
commit
6528bdad9f
@ -1173,7 +1173,7 @@ Generator函数的暂停执行的效果,意味着可以把异步操作写在yi
|
||||
function* loadUI() {
|
||||
showLoadingScreen();
|
||||
yield loadUIDataAsynchronously();
|
||||
hideLoadingScreen();
|
||||
hideLoadingScreen();
|
||||
}
|
||||
var loader = loadUI();
|
||||
// 加载UI
|
||||
|
Loading…
x
Reference in New Issue
Block a user