diff 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
line wrap: on
line diff
--- a/web/src/luan/modules/web/web_shell.luan	Fri Feb 06 21:54:41 2015 +0000
+++ b/web/src/luan/modules/web/web_shell.luan	Sun Feb 08 07:26:20 2015 +0000
@@ -1,7 +1,10 @@
-import "luan:Basic"
-import "luan:Io"
-import "luan:Debug"
-import "luan:web/Http"
+local Luan = require "luan:Luan"
+local ipairs = Luan.ipairs
+local load = Luan.load
+local Io = require "luan:Io"
+local print = Io.print
+local Debug = require "luan:Debug"
+local Http = require "luan:web/Http"
 
 per_session = true
 
@@ -10,7 +13,7 @@
 
 Io.stdout = {}
 function Io.stdout.write(...)
-	for _,v in Basic.values(...) do
+	for _,v in Luan.values(...) do
 		history[#history+1] = v
 	end
 end