Last active
August 29, 2015 14:26
-
-
Save kouphax/8ad1b0ffcb878abf098e to your computer and use it in GitHub Desktop.
Revisions
-
kouphax revised this gist
Jul 28, 2015 . 1 changed file with 18 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,18 @@ <!DOCTYPE HTML> <html> <head> <meta charset="UTF-8"> <script type="text/javascript" src="confirm.js"></script> </head> <body> </body> <script type="text/javascript"> var app = Elm.fullscreen(Elm.Confirm, { getName: "James" }); app.ports.getName.send("Peter") </script> </html> -
kouphax created this gist
Jul 28, 2015 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,12 @@ module Confirm where import Html exposing (..) import Html.Events exposing (..) import Html.Attributes exposing (..) import Signal exposing (..) import StartApp port getName : Signal String main : Signal Html main = Signal.map text getName