Mercurial Hosting > luan
comparison website/src/docs.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 |
---|---|
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 local Shared = require "site:/Shared" | 4 local Shared = require "site:/Shared" |
5 | 5 |
6 | 6 |
7 function service() | 7 function respond() |
8 Io.stdout = Http.response.text_writer() | 8 Io.stdout = Http.response.text_writer() |
9 %> | 9 %> |
10 <html> | 10 <html> |
11 <head> | 11 <head> |
12 <% Html.simply_html_head() %> | 12 <% Html.simply_html_head() %> |