comparison core/src/luan/modules/Html.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 fed1893821bf
children b24a35612947
comparison
equal deleted inserted replaced
320:fed1893821bf 321:7f7708e8fdd4
1 java 1 java()
2 import "java:luan.modules.HtmlLuan" 2 local HtmlLuan = require "java:luan.modules.HtmlLuan"
3 3
4 encode = HtmlLuan.encode 4 encode = HtmlLuan.encode
5 parse = HtmlLuan.parse 5 parse = HtmlLuan.parse
6 to_string = HtmlLuan.to_string 6 to_string = HtmlLuan.to_string
7 7
8 8
9 9
10 -- extras 10 -- extras
11 11
12 import "luan:Luan" 12 local Luan = require "luan:Luan"
13
14 local ipairs = Luan.ipairs 13 local ipairs = Luan.ipairs
15 local type = Luan.type 14 local type = Luan.type
16 15
17 function process_url_tags(html) 16 function process_url_tags(html)
18 for i, v in ipairs(html) do 17 for i, v in ipairs(html) do