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

Unified Diff: sky/specs/modules.md

Issue 884713009: Specs: dartification of dom.md, more work on script.md; this is highly work-in-progress and hasn't … (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 10 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 | « sky/specs/gestures.md ('k') | sky/specs/pointer.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 f6616cc0a12630cace9bd0c3598b7b4d9e8861c4..691c761fa38721ae6f059f4a4f5cac1559f9d4b3 100644
--- a/sky/specs/modules.md
+++ b/sky/specs/modules.md
@@ -51,7 +51,8 @@ elements up to that point, interleaved so as to maintain the same
relative order as those elements were first seen by the parser.
When a library imports a module, it actually imports all the libraries
-that were declared by that module except the element tree library.
+that were declared by that module except the aforementioned element
+tree library.
At the end of the ``<script>`` block's source, if it parsed correctly
and completely, the following code is appended:
@@ -146,15 +147,11 @@ abstract class AbstractModule : EventTarget {
// - register the new tagName with this constructor
// - return the new Function (which is, not coincidentally, an
// InternalElementConstructorWithShadow)
-
- readonly attribute ScriptElement? currentScript; // O(1) // returns the <script> element currently being executed if any, and if it's in this module; else null
}
class Module : AbstractModule {
constructor (Application application, Document document, String url); // O(1)
readonly attribute Application application; // O(1)
-
- attribute any exports; // O(1) // defaults to {}
}
class Application : AbstractModule {
« no previous file with comments | « sky/specs/gestures.md ('k') | sky/specs/pointer.md » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698