2012-06-28 08:49:16 +00:00
|
|
|
|
|
|
|
To compile this example yourself use:
|
|
|
|
|
2012-06-28 18:01:55 +00:00
|
|
|
elm --import-js="FormHelp.js" Form.elm
|
2012-06-28 08:49:16 +00:00
|
|
|
|
|
|
|
This compiles the Elm file and includes the necessary JavaScript code.
|
|
|
|
It produces a self-contained HTML file.
|
|
|
|
|
|
|
|
|
|
|
|
Note: Not all browsers like reading the elm-runtime-x.y.z.js file from
|
|
|
|
an absolute path, so you may have to specify a relative path with
|
|
|
|
the --runtime flag (e.g. --runtime="../../../elm/elm-runtime-0.3.5.js").
|