diff options
author | David Walter Seikel | 2014-03-27 02:24:25 +1000 |
---|---|---|
committer | David Walter Seikel | 2014-03-27 02:24:25 +1000 |
commit | 2830fe489465297ce369cff8a1b86e16217d184a (patch) | |
tree | 70f933c7c20a50eef5394ac7490536440e557e1a /ClientHamr | |
parent | TODO++ (diff) | |
download | SledjHamr-2830fe489465297ce369cff8a1b86e16217d184a.zip SledjHamr-2830fe489465297ce369cff8a1b86e16217d184a.tar.gz SledjHamr-2830fe489465297ce369cff8a1b86e16217d184a.tar.bz2 SledjHamr-2830fe489465297ce369cff8a1b86e16217d184a.tar.xz |
Have a default default.
Diffstat (limited to 'ClientHamr')
-rw-r--r-- | ClientHamr/GuiLua/skang.lua | 1 | ||||
-rw-r--r-- | ClientHamr/GuiLua/test.lua | 2 |
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. |
236 | Thing.help = 'No description supplied.' | 236 | Thing.help = 'No description supplied.' |
237 | Thing.default = '' | ||
237 | Thing.types = {'string'} | 238 | Thing.types = {'string'} |
238 | Thing.required = false | 239 | Thing.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. |
49 | local skang = require 'skang' | 49 | local skang = require 'skang' |
50 | local test = require 'test' | 50 | local test = require 'test' |
51 | |||
52 | print('foo = ' .. test.foo .. ' ->> ' .. skang.things.foo.help) | ||
51 | print('End ' .. test.bar .. ' ' .. test.VERSION .. ' ' .. skang.things.ffunc.help .. ' ->> ' .. skang.things.f.action) | 53 | print('End ' .. test.bar .. ' ' .. test.VERSION .. ' ' .. skang.things.ffunc.help .. ' ->> ' .. skang.things.f.action) |
52 | test.ffunc('one', 2) | 54 | test.ffunc('one', 2) |
53 | --skang.things.ffunc('seven', 'aight') | 55 | --skang.things.ffunc('seven', 'aight') |