comparison website/src/manual.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 d3183a330ff5
comparison
equal deleted inserted replaced
494:2b9bc97f0439 495:598123096772
4 local Http = require "luan:http/Http" 4 local Http = require "luan:http/Http"
5 local Shared = require "site:/Shared" 5 local Shared = require "site:/Shared"
6 6
7 heading_options = [[margin-top="2em" margin-bottom=".6em" textcolor="#233E93"]] 7 heading_options = [[margin-top="2em" margin-bottom=".6em" textcolor="#233E93"]]
8 8
9 function service() 9 function respond()
10 Io.stdout = Http.response.text_writer() 10 Io.stdout = Http.response.text_writer()
11 %> 11 %>
12 <html> 12 <html>
13 <head> 13 <head>
14 <% Html.simply_html_head() %> 14 <% Html.simply_html_head() %>