Mercurial Hosting > luan
comparison web/src/luan/modules/web/shell.luan @ 399:199eb7f1b828
add LuanServlet
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Mon, 27 Apr 2015 16:59:35 -0600 |
parents | 2f5cc9c2cbf0 |
children | 62b457c50594 |
comparison
equal
deleted
inserted
replaced
398:39c4ac11a58a | 399:199eb7f1b828 |
---|---|
9 local Html = require "luan:Html" | 9 local Html = require "luan:Html" |
10 | 10 |
11 per_session = true | 11 per_session = true |
12 | 12 |
13 local history = {} | 13 local history = {} |
14 local env = {} | 14 env = {} |
15 | 15 |
16 function service() | 16 function service() |
17 if Http.request.parameters.clear ~= nil then | 17 if Http.request.parameters.clear ~= nil then |
18 history = {} | 18 history = {} |
19 else | 19 else |