Skip to content

Commit

Permalink
Merge pull request #7 from kormie/6-Upgrade-to-0_18_0
Browse files Browse the repository at this point in the history
[#6] Upgrade example code to elm 0.18.0
  • Loading branch information
Richard Feldman authored Dec 3, 2016
2 parents 4968dfa + 73b87f2 commit a401ac3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
7 changes: 3 additions & 4 deletions example/Chat.elm
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
port module Chat exposing (main)

{-| If you are new to Elm, I highly recommend checking out
this guide:
Expand All @@ -14,16 +15,14 @@ room very similar to the one here.
-}

import Html exposing (..)
import Html.App as App
import Html.Attributes exposing (..)
import Html.Events exposing (..)
import WebSocket as WS



main : Program String
main : Program String Model Msg
main =
App.programWithFlags
Html.programWithFlags
{ init = init
, view = view
, update = update
Expand Down
8 changes: 4 additions & 4 deletions example/elm-package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
],
"exposed-modules": [],
"dependencies": {
"elm-lang/core": "4.0.1 <= v < 5.0.0",
"elm-lang/html": "1.1.0 <= v < 2.0.0",
"elm-lang/websocket": "1.0.1 <= v < 2.0.0"
"elm-lang/core": "5.0.0 <= v < 6.0.0",
"elm-lang/html": "2.0.0 <= v < 3.0.0",
"elm-lang/websocket": "1.0.2 <= v < 2.0.0"
},
"elm-version": "0.17.1 <= v < 0.18.0"
"elm-version": "0.18.0 <= v < 0.19.0"
}

0 comments on commit a401ac3

Please sign in to comment.