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

Unified Diff: sky/specs/apis.md

Issue 696783004: Specs: define registerElement() even more carefully: as previously defined, it didn't actually regi… (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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 2ce493dbca9bc7c4794c9cc99613168765a3e6b7..bf5649d10018221d640598632cba0f11efa405a5 100644
--- a/sky/specs/apis.md
+++ b/sky/specs/apis.md
@@ -295,6 +295,7 @@ module 'sky:core' {
// 3. let that new Function's prototype be the aforementioned prototype
// 4. let that new Function have tagName and shadow properties set to
// the values passed in
+ // 5. register the new element
ScriptElement? currentScript; // O(1) // returns the <script> element currently being executed if any, and if it's in this module; else null
}
« 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