Troca do nome do arquivo dom.lua para lom.lua.
Citacao da dependencia do LuaExpat no index.html.master
parent
7f23a6d395
commit
25a07d2513
|
@ -85,6 +85,8 @@ as Lua 5.0.
|
|||
<h2>Current version</h2>
|
||||
<p>
|
||||
Current version is 1.0 alpha.
|
||||
It was developed for Lua 5.0 based on
|
||||
<a href="http://www.keplerproject.org/luaexpat">LuaExpat</a>.
|
||||
</p>
|
||||
|
||||
|
||||
|
@ -114,7 +116,6 @@ LuaXMLRPC can be downloaded in source code from the following links: <p>
|
|||
<p>
|
||||
LuaXMLRPC is a Lua library so the installation is very simple:
|
||||
just copy the Lua files to a directory in your <tt>LUA_PATH</tt>.
|
||||
</p>
|
||||
|
||||
|
||||
<a name=hist>
|
||||
|
|
|
@ -5,16 +5,16 @@
|
|||
---------------------------------------------------------------------
|
||||
|
||||
require "lxp"
|
||||
require "dom"
|
||||
require "lom"
|
||||
|
||||
local assert, error, ipairs, pairs, type, tonumber, unpack = assert, error, ipairs, pairs, type, tonumber, unpack
|
||||
local format, gsub, strfind, strsub = string.format, string.gsub, string.find, string.sub
|
||||
local concat, getn, tinsert = table.concat, table.getn, table.insert
|
||||
local ceil = math.ceil
|
||||
local parse = dom.parse
|
||||
local parse = lom.parse
|
||||
|
||||
local Public = {}
|
||||
setmetatable (Public, {__newindex == function (n)
|
||||
setmetatable (Public, {__index = function (n)
|
||||
error ("undeclared variable "..n, 2)
|
||||
end})
|
||||
|
||||
|
|
Loading…
Reference in New Issue