Skip to content

Commit

Permalink
Correct a module map example
Browse files Browse the repository at this point in the history
  • Loading branch information
annevk committed Nov 22, 2021
1 parent 32a94ad commit 9b4ccc9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -93139,10 +93139,10 @@ import "https://example.com/foo/../module2.mjs";</code></pre>
create two separate entries in the <span>module map</span> (the type is "<code
data-x="">javascript</code>" for the first, and "<code data-x="">css</code>" for the second):

<pre><code class="html" data-x="">&lt;script&gt;
<pre><code class="html" data-x="">&lt;script type=module&gt;
import "https://example.com/module";
&lt;/script&gt;
&lt;script&gt;
&lt;script type=module&gt;
import "https://example.com/module" assert { type: "css" };
&lt;/script&gt;</code></pre>

Expand Down

0 comments on commit 9b4ccc9

Please sign in to comment.