Skip to content

Commit 02bf85b

Browse files
committed
Add a line in the PhotoGroove file
It seems to me that if a function returns a `Html Msg` it should probably be prepended with `view`.
1 parent 07bd85e commit 02bf85b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: elm-in-action/05/src/PhotoGroove.elm

+1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ port module PhotoGroove exposing (main)
1414
- @ http://tinyurl.com/safari-hard-refresh
1515
2. Ellie App requires `https` (or it won't load `json`)
1616
3. Prepended view functions with `view`
17+
- Probably anything that returns a `Html Msg`.
1718
- No need to do this with helper functions.
1819
- All functions that return `Html Msg` do need this.
1920

0 commit comments

Comments
 (0)