You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is overflow question from the July 2019 meeting, particularly adressing @ljharb's importing concerns:
What if we created a js: URL scheme? We could then import builtin modules in two ways:
Import (sync or async) script
<scriptsrc="js:temporal"></script>
Import module
importTemporalfrom'js:temporal';
When you import the script, you get some global added (eg, window.Temporal). This could be done sync (no attributes on the <script>), or async (<script async>).
When you import the module, you get the module.
The text was updated successfully, but these errors were encountered:
This is overflow question from the July 2019 meeting, particularly adressing @ljharb's importing concerns:
What if we created a
js:
URL scheme? We could then import builtin modules in two ways:Import (sync or async) script
Import module
When you import the script, you get some global added (eg,
window.Temporal
). This could be done sync (no attributes on the<script>
), or async (<script async>
).When you import the module, you get the module.
The text was updated successfully, but these errors were encountered: