port module BasicWorker exposing (..)

import Html.App
import Html


main : Program Never
main =
    Html.App.program
        { init = ( "", report "it's alive!" )
        , view = \_ -> Html.text ""
        , update = \_ _ -> ( "", Cmd.none )
        , subscriptions = (\_ -> Sub.none)
        }


port report : String -> Cmd a

port module BasicWorker exposing (..)

import Html
import Platform


main : Program Never String msg
main =
    Platform.program
        { init = ( "", report "it's alive!" )
        , update = \_ _ -> ( "", Cmd.none )
        , subscriptions = (\_ -> Sub.none)
        }


port report : String -> Cmd a

Replace Html.App.program not available in 0.18 to Platform.program
Replace Html.App.program not available in 0.18 to Platform.program
