Content deleted Content added
→Record polymorphism: added |
→Record polymorphism: added |
||
Line 79:
</source>
* embedding it in a ''div'' element
<source lang="html4strict">
<!DOCTYPE HTML>
<!-- MyModule.html -->
<html>
<head><meta charset="UTF-8">
<title>MyModule</title>
<script type="text/javascript" src="/home/
<script type="text/javascript" src="MyModule.js"></script>
</head>
Line 93 ⟶ 95:
</body></html>
</source>
* compile and test
<source lang="bash">
$ elm --make -s --only-js MyModule.elm
$ browser MyModule.html
</source>
|