Mercurial Hosting > luan
comparison web/src/luan/modules/web/web_shell.luan @ 321:7f7708e8fdd4
remove import statement
git-svn-id: https://luan-java.googlecode.com/svn/trunk@322 21e917c8-12df-6dd8-5cb6-c86387c605b9
author | fschmidt@gmail.com <fschmidt@gmail.com@21e917c8-12df-6dd8-5cb6-c86387c605b9> |
---|---|
date | Sun, 08 Feb 2015 07:26:20 +0000 |
parents | 9fb523472035 |
children | 78a6a71afbfd |
comparison
equal
deleted
inserted
replaced
320:fed1893821bf | 321:7f7708e8fdd4 |
---|---|
1 import "luan:Basic" | 1 local Luan = require "luan:Luan" |
2 import "luan:Io" | 2 local ipairs = Luan.ipairs |
3 import "luan:Debug" | 3 local load = Luan.load |
4 import "luan:web/Http" | 4 local Io = require "luan:Io" |
5 local print = Io.print | |
6 local Debug = require "luan:Debug" | |
7 local Http = require "luan:web/Http" | |
5 | 8 |
6 per_session = true | 9 per_session = true |
7 | 10 |
8 local history = {} | 11 local history = {} |
9 local env = {} | 12 local env = {} |
10 | 13 |
11 Io.stdout = {} | 14 Io.stdout = {} |
12 function Io.stdout.write(...) | 15 function Io.stdout.write(...) |
13 for _,v in Basic.values(...) do | 16 for _,v in Luan.values(...) do |
14 history[#history+1] = v | 17 history[#history+1] = v |
15 end | 18 end |
16 end | 19 end |
17 | 20 |
18 function service() | 21 function service() |