Replace Html.App with Html
This commit is contained in:
4
Main.elm
4
Main.elm
@@ -6,7 +6,7 @@ have everything set up properly.
|
||||
|
||||
import Html exposing (..)
|
||||
import Html.Attributes exposing (..)
|
||||
import Html.App
|
||||
import Html.App as Html
|
||||
import Auth
|
||||
import Http
|
||||
import Task exposing (Task)
|
||||
@@ -15,7 +15,7 @@ import Json.Decode exposing (Decoder)
|
||||
|
||||
main : Program Never
|
||||
main =
|
||||
Html.App.program
|
||||
Html.program
|
||||
{ view = view
|
||||
, update = update
|
||||
, init = ( initialModel, searchFeed )
|
||||
|
||||
@@ -3,7 +3,7 @@ module ElmHub exposing (..)
|
||||
import Html exposing (..)
|
||||
import Html.Attributes exposing (..)
|
||||
import Html.Events exposing (..)
|
||||
import Html.App
|
||||
import Html.App as Html
|
||||
import Http
|
||||
import Auth
|
||||
import Task exposing (Task)
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
module Main exposing (..)
|
||||
|
||||
import ElmHub exposing (..)
|
||||
import Html.App
|
||||
import Html.App as Html
|
||||
|
||||
|
||||
main : Program Never
|
||||
main =
|
||||
Html.App.program
|
||||
Html.program
|
||||
{ view = view
|
||||
, update = update
|
||||
, init = ( initialModel, searchFeed initialModel.query )
|
||||
|
||||
@@ -3,7 +3,7 @@ module ElmHub exposing (..)
|
||||
import Html exposing (..)
|
||||
import Html.Attributes exposing (..)
|
||||
import Html.Events exposing (..)
|
||||
import Html.App
|
||||
import Html.App as Html
|
||||
import Http
|
||||
import Auth
|
||||
import Task exposing (Task)
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
module Main exposing (..)
|
||||
|
||||
import ElmHub exposing (..)
|
||||
import Html.App
|
||||
import Html.App as Html
|
||||
|
||||
|
||||
main : Program Never
|
||||
main =
|
||||
Html.App.program
|
||||
Html.program
|
||||
{ view = view
|
||||
, update = update
|
||||
, init = ( initialModel, searchFeed initialModel.query )
|
||||
|
||||
@@ -3,7 +3,7 @@ module ElmHub exposing (..)
|
||||
import Html exposing (..)
|
||||
import Html.Attributes exposing (..)
|
||||
import Html.Events exposing (..)
|
||||
import Html.App
|
||||
import Html.App as Html
|
||||
import Http
|
||||
import Auth
|
||||
import Task exposing (Task)
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
module Main exposing (..)
|
||||
|
||||
import ElmHub exposing (..)
|
||||
import Html.App
|
||||
import Html.App as Html
|
||||
|
||||
|
||||
main : Program Never
|
||||
main =
|
||||
Html.App.program
|
||||
Html.program
|
||||
{ view = view
|
||||
, update = update
|
||||
, init = ( initialModel, searchFeed initialModel.query )
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
module Main exposing (..)
|
||||
|
||||
import Html exposing (..)
|
||||
import Html.App
|
||||
import Html.App as Html
|
||||
import Html.Attributes exposing (..)
|
||||
import Html.Events exposing (onClick)
|
||||
|
||||
@@ -66,7 +66,7 @@ update msg model =
|
||||
|
||||
|
||||
main =
|
||||
Html.App.beginnerProgram
|
||||
Html.beginnerProgram
|
||||
{ view = view
|
||||
, update = update
|
||||
, model = initialModel
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
module Main exposing (..)
|
||||
|
||||
import Html exposing (..)
|
||||
import Html.App
|
||||
import Html.App as Html
|
||||
import Html.Attributes exposing (..)
|
||||
import Html.Events exposing (onClick)
|
||||
|
||||
@@ -97,7 +97,7 @@ update msg model =
|
||||
|
||||
|
||||
main =
|
||||
Html.App.beginnerProgram
|
||||
Html.beginnerProgram
|
||||
{ view = view
|
||||
, update = update
|
||||
, model = initialModel
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
module Main exposing (..)
|
||||
|
||||
import Html exposing (..)
|
||||
import Html.App
|
||||
import Html.App as Html
|
||||
import Html.Attributes exposing (..)
|
||||
import Html.Events exposing (onClick)
|
||||
|
||||
@@ -96,7 +96,7 @@ update msg model =
|
||||
|
||||
|
||||
main =
|
||||
Html.App.beginnerProgram
|
||||
Html.beginnerProgram
|
||||
{ view = view
|
||||
, update = update
|
||||
, model = initialModel
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
module Main exposing (..)
|
||||
|
||||
import Html exposing (..)
|
||||
import Html.App
|
||||
import Html.App as Html
|
||||
import Html.Attributes exposing (class, target, href, property, defaultValue)
|
||||
import Html.Events exposing (..)
|
||||
import Json.Decode exposing (Decoder)
|
||||
@@ -10,7 +10,7 @@ import Json.Decode.Pipeline exposing (..)
|
||||
|
||||
main : Program Never
|
||||
main =
|
||||
Html.App.beginnerProgram
|
||||
Html.beginnerProgram
|
||||
{ view = view
|
||||
, update = update
|
||||
, model = initialModel
|
||||
|
||||
@@ -5,7 +5,7 @@ import Html exposing (..)
|
||||
import Html.Attributes exposing (class, target, href, property, defaultValue)
|
||||
import Html.Events exposing (..)
|
||||
import Http
|
||||
import Html.App
|
||||
import Html.App as Html
|
||||
import Task exposing (Task)
|
||||
import Json.Decode exposing (Decoder)
|
||||
import Json.Decode.Pipeline exposing (..)
|
||||
@@ -13,7 +13,7 @@ import Json.Decode.Pipeline exposing (..)
|
||||
|
||||
main : Program Never
|
||||
main =
|
||||
Html.App.program
|
||||
Html.program
|
||||
{ view = view
|
||||
, update = update
|
||||
, init = ( initialModel, searchFeed initialModel.query )
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
port module Main exposing (..)
|
||||
|
||||
import ElmHub exposing (..)
|
||||
import Html.App
|
||||
import Html.App as Html
|
||||
import Json.Decode
|
||||
|
||||
|
||||
main : Program Never
|
||||
main =
|
||||
Html.App.program
|
||||
Html.program
|
||||
{ view = view
|
||||
, update = update githubSearch
|
||||
, init = ( initialModel, githubSearch (getQueryString initialModel.query) )
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
port module Main exposing (..)
|
||||
|
||||
import ElmHub exposing (..)
|
||||
import Html.App
|
||||
import Html.App as Html
|
||||
import Json.Decode
|
||||
|
||||
|
||||
main : Program Never
|
||||
main =
|
||||
Html.App.program
|
||||
Html.program
|
||||
{ view = view
|
||||
, update = update githubSearch
|
||||
, init = ( initialModel, githubSearch (getQueryString initialModel.query) )
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
module Main exposing (..)
|
||||
|
||||
import ElmHub exposing (..)
|
||||
import Html.App
|
||||
import Html.App as Html
|
||||
|
||||
|
||||
main : Program Never
|
||||
main =
|
||||
Html.App.program
|
||||
Html.program
|
||||
{ view = view
|
||||
, update = update
|
||||
, init = ( initialModel, searchFeed initialModel.query )
|
||||
|
||||
Reference in New Issue
Block a user