Mercurial Hosting > luan
comparison web/src/luan/modules/web/web_run.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 | 5652cdea25f5 |
children | 78a6a71afbfd |
comparison
equal
deleted
inserted
replaced
320:fed1893821bf | 321:7f7708e8fdd4 |
---|---|
1 import "luan:Io" | 1 local Luan = require "luan:Luan" |
2 import "luan:web/Http" | 2 local load = Luan.load |
3 import "luan:String" | 3 local Io = require "luan:Io" |
4 local print = Io.print | |
5 local Http = require "luan:web/Http" | |
6 local String = require "luan:String" | |
4 | 7 |
5 local function lines(s) | 8 local function lines(s) |
6 local matcher = s.gmatch "([^\n]*)\n|([^\n])+$" | 9 local matcher = s.gmatch "([^\n]*)\n|([^\n])+$" |
7 return function() | 10 return function() |
8 local m1, m2 = matcher() | 11 local m1, m2 = matcher() |