Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(32)

Unified Diff: sky/specs/apis.md

Issue 693933003: Specs: Clarify currentScript behaviour (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/specs/apis.md
diff --git a/sky/specs/apis.md b/sky/specs/apis.md
index 2122dd3d38d92ab8e80143de9bcbbe9d6cd2183d..4b886dccc444f337fbdfcdddaff577d19dd23fc6 100644
--- a/sky/specs/apis.md
+++ b/sky/specs/apis.md
@@ -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 {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698