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

Unified Diff: sky/specs/modules.md

Issue 695423004: Specs: Drop the concept of late-bound elements. An element can never be upgraded. (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 | « sky/specs/markup.md ('k') | sky/specs/parsing.md » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/specs/modules.md
diff --git a/sky/specs/modules.md b/sky/specs/modules.md
index 86a1d1ff9c403352b202a5174c78fb0b3de3f5bc..5629018a701cc55247be041b993fcd5353d14518 100644
--- a/sky/specs/modules.md
+++ b/sky/specs/modules.md
@@ -18,27 +18,18 @@ document's list of outstanding dependencies grows. When an imported
module completes, it is removed from the document's list of
outstanding dependencies.
-Before executing any ```script``` elements, the parser waits until the
-list of outstanding dependencies is empty. After the parser has
-finished parsing, the document waits until its list of outstanding
-dependencies is empty before the module it represents is marked
-complete.
+Before executing script or inserting an element that is not already
+registered, the parser waits until the list of outstanding
+dependencies is empty. After the parser has finished parsing, the
+document waits until its list of outstanding dependencies is empty
+before the module it represents is marked complete.
Module API
----------
Within a script in a module, the ```module``` identifier is bound to
-the ```Module``` object that represents the module:
-
-```javascript
-interface Module : EventTarget {
- constructor (Application application, Document document); // O(1)
- attribute any exports; // O(1) // defaults to the module's document
- readonly attribute Document document; // O(1) // the module's document
- readonly attribute Application application; // O(1)
-}
-```
+the [```Module``` object](apis.md) that represents the module.
### Exporting values ###
« no previous file with comments | « sky/specs/markup.md ('k') | sky/specs/parsing.md » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698