Files
test-repo/tests/format/html/script/babel.html
T

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

14 lines
261 B
HTML
Raw Normal View History

2020-05-25 17:48:31 +08:00
<script type="text/babel" data-presets="react" data-type="module">
import { h,
render } from 'https://unpkg.com/preact?module';
render(
<h1>Hello World!</h1>,
document.body
);
</script>
<script type="text/babel">
<!--
alert(1)
-->
</script>