提交 95c3a249 编写于 作者: H Hixie

Specs: Clarify currentScript behaviour

Review URL: https://codereview.chromium.org/693933003
上级 9a2441ce
......@@ -174,7 +174,7 @@ module 'sky:core' {
// MODULES
abstract interface AbstractModule : EventTarget {
Promise<any> import(String url); // O(Yikes) // returns the module's exports
ScriptElement? currentScript; // O(1) // returns the <script> element currently being executed if any, else null
ScriptElement? currentScript; // O(1) // returns the <script> element currently being executed if any, and if it's in this module; else null
}
interface Module : AbstractModule {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册