comparison website/src/index.html.luan @ 495:598123096772

rename service() to respond()
author Franklin Schmidt <fschmidt@gmail.com>
date Fri, 15 May 2015 18:10:14 -0600
parents 2b9bc97f0439
children 92c3d22745b8
comparison
equal deleted inserted replaced
494:2b9bc97f0439 495:598123096772
1 local Io = require "luan:Io" 1 local Io = require "luan:Io"
2 local Html = require "luan:Html" 2 local Html = require "luan:Html"
3 local Http = require "luan:http/Http" 3 local Http = require "luan:http/Http"
4 4
5 5
6 function service() 6 function respond()
7 Io.stdout = Http.response.text_writer() 7 Io.stdout = Http.response.text_writer()
8 %> 8 %>
9 <html> 9 <html>
10 <head> 10 <head>
11 <% Html.simply_html_head() %> 11 <% Html.simply_html_head() %>