@@ -29,20 +29,16 @@ sandwich moduleName javascript =
32−<pre id="elm">
32+<pre id="elm"></pre>
33−This is a headless program, meaning there is nothing to show here.
35−I started the program anyway though!
37−You can access it as `app` in the developer console.
42|] <> javascript <> [r|
36|] <> javascript <> [r|
44 var app = Elm.|] <> name <> [r|.init({ node: document.getElementById("elm") });
38 var app = Elm.|] <> name <> [r|.init({ node: document.getElementById("elm") });
45−} catch (e) {
40+catch (e)
46 // display initialization errors (e.g. bad flags, infinite recursion)
42 // display initialization errors (e.g. bad flags, infinite recursion)
47 var header = document.createElement("h1");
43 var header = document.createElement("h1");
48 header.style.fontFamily = "monospace";
44 header.style.fontFamily = "monospace";