aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/ClientHamr/GuiLua
diff options
context:
space:
mode:
authorDavid Walter Seikel2014-03-28 03:34:29 +1000
committerDavid Walter Seikel2014-03-28 03:34:29 +1000
commit3581c1b657366cd1f937feca07472151fafa0e32 (patch)
tree1c8a2361a176c2929a8e82e5e4eaf556006d7763 /ClientHamr/GuiLua
parentShuffle the version printing around. (diff)
downloadSledjHamr-3581c1b657366cd1f937feca07472151fafa0e32.zip
SledjHamr-3581c1b657366cd1f937feca07472151fafa0e32.tar.gz
SledjHamr-3581c1b657366cd1f937feca07472151fafa0e32.tar.bz2
SledjHamr-3581c1b657366cd1f937feca07472151fafa0e32.tar.xz
More detail for a TODO.
Diffstat (limited to '')
-rw-r--r--ClientHamr/GuiLua/skang.lua2
1 files changed, 1 insertions, 1 deletions
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=
266 foo has to be a table value though, with a metatable 266 foo has to be a table value though, with a metatable
267 and the rest of skang is treating test.foo as a nil value so that __index and __newindex work. B-( 267 and the rest of skang is treating test.foo as a nil value so that __index and __newindex work. B-(
268 test itself is a table, so all is not lost - 268 test itself is a table, so all is not lost -
269 test{'foo', widget='...', acl='..'} -> __call(test, {'foo', ...}) 269 test{'foo', widget='...', acl='..'} -> __call(test, {'foo', ...}) -> skang.thing{'foo', ...}
270 which would assign stuff to skang.things.foo.widget and skang.things.foo.acl 270 which would assign stuff to skang.things.foo.widget and skang.things.foo.acl
271 as opposed to - 271 as opposed to -
272 skang.things.foo = {widget='...', acl='...'} 272 skang.things.foo = {widget='...', acl='...'}