Mercurial Hosting > luan
comparison web/src/luan/modules/web/web_run.luan @ 173:58c6ca5d4524
fix build.sh
git-svn-id: https://luan-java.googlecode.com/svn/trunk@174 21e917c8-12df-6dd8-5cb6-c86387c605b9
author | fschmidt@gmail.com <fschmidt@gmail.com@21e917c8-12df-6dd8-5cb6-c86387c605b9> |
---|---|
date | Sun, 22 Jun 2014 07:46:49 +0000 |
parents | 7c792a328a83 |
children | bdbd4740121f |
comparison
equal
deleted
inserted
replaced
172:4edbf3204ca6 | 173:58c6ca5d4524 |
---|---|
1 import "Http" | 1 import "web.Http" |
2 | 2 |
3 local function lines(s) | 3 local function lines(s) |
4 local matcher = String.gmatch(s,"([^\n]*)\n|([^\n])+$") | 4 local matcher = String.gmatch(s,"([^\n]*)\n|([^\n])+$") |
5 return function() | 5 return function() |
6 local m1, m2 = matcher() | 6 local m1, m2 = matcher() |