Content deleted Content added
Jackmcbarn (talk | contribs) basic tests |
Jackmcbarn (talk | contribs) rm tables |
||
Line 28:
args.from = {}
for k,v in pairs(args.to) do
end
end
Line 41 ⟶ 35:
function mt.__index(t, k)
if type(k) == 'string' then
local
if retval ~= nil or args.from[k] ~= nil then
return retval
Line 64 ⟶ 49:
local to = args.to[k]
local falseCognate = args.from[k] ~= nil
if
if v == nil and not falseCognate then
args.src[k] = nil
Line 99 ⟶ 73:
function p.main(frame)
local args = {
eins = '#ff0000',
zwei = '#ff7f00',
drei = '#FFFF00',
three = 'yellow'
}
local to = {
one = '
two =
three = 'drei'
}
|