nicer layout for settings

This commit is contained in:
Manuel Simon Hirsig
2016-07-24 20:14:57 +02:00
parent 31133eaafc
commit 675b7f06be
13 changed files with 174 additions and 159 deletions
+9 -1
View File
@@ -7,7 +7,15 @@ function public.id(object)
return object
end
function public.table_eq(t1, t2)
function public.size(table)
local x = 0
for _ in table do
x = x + 1
end
return x
end
function public.eq(t1, t2)
if not t1 or not t2 then
return false
end