Skip to content

UPD: update to 2020-10-15#848

Merged
leviding merged 10 commits intomasterfrom
update-part-3
Nov 15, 2020
Merged

UPD: update to 2020-10-15#848
leviding merged 10 commits intomasterfrom
update-part-3

Conversation

@leviding
Copy link
Member

@leviding leviding commented Nov 7, 2020

Update to 2020-10-15 from upstream.

@javascript-translate-bot javascript-translate-bot requested a review from a team November 7, 2020 05:18
@leviding leviding added the Updating Ask LeviDing label Nov 7, 2020
@MartinsYong MartinsYong self-assigned this Nov 8, 2020
Copy link
Member

@MartinsYong MartinsYong left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这个有点疑问,可能是原文问题?


让我们再回到异步 generator,来使这个需求成为可能。

## 异步 generator
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

原文是:## Async generators (finally)
🧐

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@MartinsYong 这里我不知道原文的 finally 是什么意思,就删了。这里可能补回去比较好?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

补回去吧,虽然我也不太清楚啥意思

@javascript-translate-bot

Please make the requested changes. After it, add a comment "/done".
Then I'll ask for a new review 👻

@javascript-translate-bot

Please make the requested changes. After it, add a comment "/done".
Then I'll ask for a new review 👻

我们可以通过将 `async` 特性显式地修改为 `false`,以将脚本的加载顺序更改为文档顺序(就像常规脚本一样):

例如,这里我们添加了两个脚本。在没有设置 `script.async=false` 时,它们执行顺序为加载优先顺序(即 `small.js` 可能先执行)。但是当设置了 `script.async=false` 后,脚本执行顺序就变成了“脚本在文档中的顺序”:
在这个例子中,`loadScript(src)` 函数添加了一个脚本,并将 `async` 设置为了 `false`。
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这里原文应该需要加个 below
In the example below

@leviding
Copy link
Member Author

辛苦啦,目前所有意见均已更改完毕,等待进一步意见~

Copy link
Member

@MartinsYong MartinsYong left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

还有点小问题

@@ -243,23 +243,29 @@ demoElem.innerHTML = `下面是一个代码段:
这些方法可以一起使用,如下所示:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

239 行末补上:在这样的情况下,我们使用

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

DONE

@javascript-translate-bot

Please make the requested changes. After it, add a comment "/done".
Then I'll ask for a new review 👻

leviding and others added 2 commits November 15, 2020 10:34
Co-authored-by: Martin <a545067127@outlook.com>
@leviding leviding merged commit 963b4ee into master Nov 15, 2020
@leviding leviding deleted the update-part-3 branch November 15, 2020 03:39
@leviding
Copy link
Member Author

DONE,辛苦啦~

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants