Elm (programming language): Difference between revisions

Content deleted Content 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/gabi64your-account/elm-comp/cabal-dev//share/Elm-0.8.0.3/elm-runtime.js"></script>
<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>