Upgrade everything to 0.18
This commit is contained in:
@@ -3,7 +3,6 @@ port module ElmHub exposing (..)
|
||||
import Html exposing (..)
|
||||
import Html.Attributes exposing (class, target, href, defaultValue, type_, checked, placeholder, value)
|
||||
import Html.Events exposing (..)
|
||||
import Html.App as Html
|
||||
import Auth
|
||||
import Json.Decode exposing (Decoder)
|
||||
import Json.Decode.Pipeline exposing (..)
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
module Main exposing (main)
|
||||
|
||||
import ElmHub
|
||||
import Html.App as Html
|
||||
import Html
|
||||
|
||||
|
||||
main : Program Never
|
||||
main : Program Never ElmHub.Model ElmHub.Msg
|
||||
main =
|
||||
Html.program
|
||||
{ view = ElmHub.view
|
||||
|
||||
@@ -37,4 +37,4 @@ Then visit [localhost:8000](http://localhost:8000) and choose `HtmlRunner.elm`.
|
||||
|
||||
## References
|
||||
|
||||
* [Html.map](http://package.elm-lang.org/packages/elm-lang/html/1.1.0/Html-App#map)
|
||||
* [Html.map](http://package.elm-lang.org/packages/elm-lang/html/1.1.0/Html#map)
|
||||
|
||||
@@ -6,11 +6,11 @@ import Test.Runner.Html as Runner
|
||||
|
||||
-- To run this:
|
||||
--
|
||||
-- cd into part8/test
|
||||
-- cd into part10/test
|
||||
-- elm-reactor
|
||||
-- navigate to HtmlRunner.elm
|
||||
|
||||
|
||||
main : Program Never
|
||||
main : Program Never Model Msg
|
||||
main =
|
||||
Runner.run Tests.all
|
||||
|
||||
Reference in New Issue
Block a user