Mercurial Hosting > luan
comparison web/src/luan/modules/web/test.luan @ 272:eb27e765affb
rename Io.protocols to Io.schemes and "class:" to "java:"
git-svn-id: https://luan-java.googlecode.com/svn/trunk@273 21e917c8-12df-6dd8-5cb6-c86387c605b9
author | fschmidt@gmail.com <fschmidt@gmail.com@21e917c8-12df-6dd8-5cb6-c86387c605b9> |
---|---|
date | Fri, 31 Oct 2014 04:50:24 +0000 |
parents | 82a3ebcfbafa |
children | 7f7708e8fdd4 |
comparison
equal
deleted
inserted
replaced
271:82a3ebcfbafa | 272:eb27e765affb |
---|---|
4 | 4 |
5 local function print(...) | 5 local function print(...) |
6 Io.print_to(Io.stderr,...) | 6 Io.print_to(Io.stderr,...) |
7 end | 7 end |
8 | 8 |
9 function Io.protocols.site(path,loading) | 9 function Io.schemes.site(path,loading) |
10 return Io.Uri( "luan:web"..path, loading ) | 10 return Io.Uri( "luan:web"..path, loading ) |
11 end | 11 end |
12 | 12 |
13 | 13 |
14 Http.init_for_test() | 14 Http.init_for_test() |