Created
October 4, 2016 02:28
-
-
Save glinesbdev/47c50795bb5a1903fa5c9e9d1f4512f0 to your computer and use it in GitHub Desktop.
Default Bootstrap Navbar in Elm
Again, empty arrays here... https://gist.github.com/glinesbdev/47c50795bb5a1903fa5c9e9d1f4512f0#file-nav-elm-L31
Oh I just found this: http://mbylstra.github.io/html-to-elm/
Is Elm not meant to have HTML directly within it? How do you do templating then?
What the fuck is this? It's like you put Javascript in a blender, drank it, and vomited it onto crusty old HTML that had been baked in the sun.
Knowing nothing about this language, but a bit about statically-typed languages... I still don't know what this does: https://gist.github.com/glinesbdev/47c50795bb5a1903fa5c9e9d1f4512f0#file-nav-elm-L22
The HTML this outputs can be found here: https://gist.github.com/glinesbdev/0c3fc6bcadf42e115b0bcf39b2b06b63
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What is this shit? https://gist.github.com/glinesbdev/47c50795bb5a1903fa5c9e9d1f4512f0#file-nav-elm-L48 -- why do you have to put an empty array in an
li
?