Elm.fullscreen(Elm.Main); become Elm.Main.fullscreen(); in 0.17 More info here: http://guide.elm-lang.org/interop/html.html
On Wed, Jun 29, 2016 at 12:29 PM, Stuart Axon <[email protected]> wrote: > I've been getting started with elm using the environment described here > https://boonofcode.svbtle.com/setting-up-an-atom-elm-dev-environment I > have an index.html as below, but am getting - > > TypeError: Elm.fullscreen is not a function > > Any idea what I need to change ? > > > <!DOCTYPE html> >> <html> >> <head> >> <meta charset="utf-8"> >> <title>My App</title> >> <link rel="stylesheet" href="css/style.min.css"> >> </head> >> <body> >> <script src="gen/main.js"></script> >> <script> >> Elm.fullscreen(Elm.Main); >> </script> >> </body> >> </html> >> > > > -- > You received this message because you are subscribed to the Google Groups > "Elm Discuss" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- There is NO FATE, we are the creators. blog: http://damoc.ro/ -- You received this message because you are subscribed to the Google Groups "Elm Discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
