Mercurial Hosting > luan
diff website/src/examples/hi2.luan @ 497:55f9f74f1e55
Http.request is now pure luan
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Sun, 17 May 2015 19:25:47 -0600 |
parents | 598123096772 |
children | 92c3d22745b8 |
line wrap: on
line diff
--- a/website/src/examples/hi2.luan Sat May 16 20:19:05 2015 -0600 +++ b/website/src/examples/hi2.luan Sun May 17 19:25:47 2015 -0600 @@ -8,7 +8,7 @@ <body> <h1>Hello</h1> <form> - What is you name? + What is your name? <input name="name"> <input type=submit> </form> @@ -30,7 +30,7 @@ function respond() Io.stdout = Http.response.text_writer() - name = Http.request.parameters.name + name = Http.request.parameter.name if name == nil then form() else