aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--ClientHamr/GuiLua/skang.lua1
-rw-r--r--ClientHamr/GuiLua/test.lua2
2 files changed, 3 insertions, 0 deletions
diff --git a/ClientHamr/GuiLua/skang.lua b/ClientHamr/GuiLua/skang.lua
index bc59f85..29b62a9 100644
--- a/ClientHamr/GuiLua/skang.lua
+++ b/ClientHamr/GuiLua/skang.lua
@@ -234,6 +234,7 @@ __newindex could catch a table being assigned - test.foo = {widget = '...', acl=
234 234
235-- Default things values. 235-- Default things values.
236Thing.help = 'No description supplied.' 236Thing.help = 'No description supplied.'
237Thing.default = ''
237Thing.types = {'string'} 238Thing.types = {'string'}
238Thing.required = false 239Thing.required = false
239--Thing.acl = '' 240--Thing.acl = ''
diff --git a/ClientHamr/GuiLua/test.lua b/ClientHamr/GuiLua/test.lua
index 5a5fda1..96d46e6 100644
--- a/ClientHamr/GuiLua/test.lua
+++ b/ClientHamr/GuiLua/test.lua
@@ -48,6 +48,8 @@ end
48-- Test it. 48-- Test it.
49local skang = require 'skang' 49local skang = require 'skang'
50local test = require 'test' 50local test = require 'test'
51
52print('foo = ' .. test.foo .. ' ->> ' .. skang.things.foo.help)
51print('End ' .. test.bar .. ' ' .. test.VERSION .. ' ' .. skang.things.ffunc.help .. ' ->> ' .. skang.things.f.action) 53print('End ' .. test.bar .. ' ' .. test.VERSION .. ' ' .. skang.things.ffunc.help .. ' ->> ' .. skang.things.f.action)
52test.ffunc('one', 2) 54test.ffunc('one', 2)
53--skang.things.ffunc('seven', 'aight') 55--skang.things.ffunc('seven', 'aight')