Google Grupper har inte längre stöd för nya Usenet-inlägg eller -prenumerationer. Historiskt innehåll förblir synligt.
Dismiss

Intent to Implement: Module scripts (ES6 modules)

129 visningar
Hoppa till det första olästa meddelandet

jcop...@mozilla.com

oläst,
13 jan. 2017 12:30:062017-01-13
till
Summary:

An HTML <script type="module"> element allows direct use of JavaScript modules
in HTML. It will initially be implemented behind a pref.

Bug: https://bugzilla.mozilla.org/show_bug.cgi?id=568953

Link to standard:

https://html.spec.whatwg.org/#the-script-element:module-script
https://tc39.github.io/ecma262/#sec-modules

Platform coverage: All.

Estimated or target release: Firefox 53/54.

Preference behind which this will be implemented: dom.moduleScripts.enabled

DevTools bug: None yet.

Do other browser engines implement this?

Microsoft Edge: shipping behind a flag
Safari: implemented in Safari Technology Preview 21
Chrome: under development

Tests:

Mochitests under dom/base/test/jsmodules
0 nya meddelanden