changeset 185:5f50dba8ac7d

minor git-svn-id: https://luan-java.googlecode.com/svn/trunk@186 21e917c8-12df-6dd8-5cb6-c86387c605b9
author fschmidt@gmail.com <fschmidt@gmail.com@21e917c8-12df-6dd8-5cb6-c86387c605b9>
date Wed, 25 Jun 2014 07:06:16 +0000
parents 69f1e79a9eb0
children cf939124461a
files web/src/luan/modules/web/LuanHandler.java web/src/luan/modules/web/web_shell.luan
diffstat 2 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/web/src/luan/modules/web/LuanHandler.java	Wed Jun 25 04:47:48 2014 +0000
+++ b/web/src/luan/modules/web/LuanHandler.java	Wed Jun 25 07:06:16 2014 +0000
@@ -15,7 +15,7 @@
 	private final LuanState luan;
 	private String welcomeFile = "index.html";
 
-	LuanHandler(LuanState luan) {
+	public LuanHandler(LuanState luan) {
 		this.luan = luan;
 	}
 
--- a/web/src/luan/modules/web/web_shell.luan	Wed Jun 25 04:47:48 2014 +0000
+++ b/web/src/luan/modules/web/web_shell.luan	Wed Jun 25 07:06:16 2014 +0000
@@ -30,16 +30,16 @@
 	end
 
 	local write = Http.response.text_writer().write
-	write %>
+	write(%>
 <html>
 <title>Luan Shell</title>
 	<body>
 		<p>This is a command shell.  Enter commands below.
-		<pre><%
+		<pre><%)
 		for _,v in ipairs(history) do
 			write(v)
 		end
-		write %></pre>
+		write(%></pre>
 		<form name='theForm' method='post'>
 			% <input name='cmd' size=60>
 			<input type=submit value=run>
@@ -51,6 +51,6 @@
 		<p/>
 	</body>
 </html>
-<%
+<%)
 
 end