Created
April 18, 2016 19:50
-
-
Save chuck0523/a6adba7f9bf78ac5b49848946d09f8f8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
type alias Model = | |
{ topic : String | |
, gifUrl : String | |
} | |
init : String -> (Model, Effects Action) | |
init topic = | |
( Model topic "assets/waiting.gif" | |
, getRandomGif topic | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment