Re: [heycam/webidl] [WIP] Define Web IDL Modules (#675)

littledan commented on this pull request.



> @@ -13202,6 +13361,67 @@ The characteristics of a namespace object are described in [[#namespace-object]]
 </div>
 
 
+<h3 id="es-modules">Modules</h3>
+
+Modules are reified as entries in the [=module map=] as [=Synthetic Module
+Records=], allowing them to be imported as ECMAScript modules.
+
+<div algorithm>
+  To <dfn>create a synthetic module record</dfn> for a [=module=] |module| in a
+  [=Realm=] |realm|, perform the following steps:
+
+    1.  Let |exports| be « ».
+    1.  For each member |member| of |module|:

That's what's done in the definition of module members. Is this precise enough? I'll improve the references here.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/heycam/webidl/pull/675#discussion_r262026434

Received on Monday, 4 March 2019 11:47:33 UTC