You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a feeling that I'm missing something, but I haven't been able to track down any info on this from searching online yet or looking at the Elm docs... None of the examples for this library work for me unless I change Browser.embed to Browser.element.
I cannot find a `Browser.embed` variable:
283| Browser.embed
^^^^^^^^^^^^^
The `Browser` module does not expose a `embed` variable. These names seem close
though:
Browser.element
Browser.sandbox
Browser.document
Html.embed
Hint: Read <https://elm-lang.org/0.19.0/imports> to see how `import`
declarations work in Elm.
But again, using Browser.element works fine. Is this due to an update to Elm or something else that I'm missing?
I'm happy to make a PR to fix this in the examples if it needs to be fixed :) Apologies if there's just something about Elm I'm missing here though; I'm still new to the language.
The text was updated successfully, but these errors were encountered:
LearningNerd
changed the title
Examples not working; "Browser module does expose an embed variable"
Examples not working; "Browser module does not expose an embed variable"
Mar 25, 2019
I have a feeling that I'm missing something, but I haven't been able to track down any info on this from searching online yet or looking at the Elm docs... None of the examples for this library work for me unless I change
Browser.embed
toBrowser.element
.Example from running https://github.com/mdgriffith/elm-style-animation/blob/master/examples/Showcase.elm -- here's the compiler error:
But again, using
Browser.element
works fine. Is this due to an update to Elm or something else that I'm missing?I'm happy to make a PR to fix this in the examples if it needs to be fixed :) Apologies if there's just something about Elm I'm missing here though; I'm still new to the language.
The text was updated successfully, but these errors were encountered: