From 3581c1b657366cd1f937feca07472151fafa0e32 Mon Sep 17 00:00:00 2001 From: David Walter Seikel Date: Fri, 28 Mar 2014 03:34:29 +1000 Subject: More detail for a TODO. --- ClientHamr/GuiLua/skang.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ClientHamr/GuiLua/skang.lua') diff --git a/ClientHamr/GuiLua/skang.lua b/ClientHamr/GuiLua/skang.lua index b7cf59b..17075ed 100644 --- a/ClientHamr/GuiLua/skang.lua +++ b/ClientHamr/GuiLua/skang.lua @@ -266,7 +266,7 @@ __newindex could catch a table being assigned - test.foo = {widget = '...', acl= foo has to be a table value though, with a metatable and the rest of skang is treating test.foo as a nil value so that __index and __newindex work. B-( test itself is a table, so all is not lost - - test{'foo', widget='...', acl='..'} -> __call(test, {'foo', ...}) + test{'foo', widget='...', acl='..'} -> __call(test, {'foo', ...}) -> skang.thing{'foo', ...} which would assign stuff to skang.things.foo.widget and skang.things.foo.acl as opposed to - skang.things.foo = {widget='...', acl='...'} -- cgit v1.1