Skip to content

Instantly share code, notes, and snippets.

@liamcurry
Created May 19, 2016 16:10
Show Gist options
  • Save liamcurry/b57cf502cf5e65d7a8be697c947dc4f7 to your computer and use it in GitHub Desktop.
Save liamcurry/b57cf502cf5e65d7a8be697c947dc4f7 to your computer and use it in GitHub Desktop.
module Main exposing (..)
import Html exposing (text)
import Html.App as App
import MyApp exposing (init, update, subscriptions)
main : Program Never
main =
App.program
{ init = init
, update = update
, subscriptions = subscriptions
, view = (\_ -> text "")
}
var Elm = require('./main.js');
Elm.Main.worker()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment