diff options
author | David Walter Seikel | 2015-03-22 17:35:10 +1000 |
---|---|---|
committer | David Walter Seikel | 2015-03-22 17:35:10 +1000 |
commit | b75e596af61da88aa705491778a5fd6845ab43ba (patch) | |
tree | 1f969b3c4012ae0fb81ab7591ea559403efe855a /src/GuiLua/test.lua | |
parent | New idea about contact sets. (diff) | |
download | SledjHamr-b75e596af61da88aa705491778a5fd6845ab43ba.zip SledjHamr-b75e596af61da88aa705491778a5fd6845ab43ba.tar.gz SledjHamr-b75e596af61da88aa705491778a5fd6845ab43ba.tar.bz2 SledjHamr-b75e596af61da88aa705491778a5fd6845ab43ba.tar.xz |
Add internal reference for skang modules, so they can find themselves.
Diffstat (limited to 'src/GuiLua/test.lua')
-rw-r--r-- | src/GuiLua/test.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/GuiLua/test.lua b/src/GuiLua/test.lua index ee007ea..7fe2e52 100644 --- a/src/GuiLua/test.lua +++ b/src/GuiLua/test.lua | |||
@@ -2,7 +2,7 @@ | |||
2 | -- By virtue of the fact we are stuffing our result into package.loaded[], just plain running this works as "loading the module". | 2 | -- By virtue of the fact we are stuffing our result into package.loaded[], just plain running this works as "loading the module". |
3 | do -- Only I'm not gonna indent this. | 3 | do -- Only I'm not gonna indent this. |
4 | 4 | ||
5 | local skang = require 'skang' | 5 | skang = require 'skang' |
6 | local _M = skang.moduleBegin('test', nil, 'Copyright 2014 David Seikel', '0.1', '2014-03-27 03:57:00', [[ | 6 | local _M = skang.moduleBegin('test', nil, 'Copyright 2014 David Seikel', '0.1', '2014-03-27 03:57:00', [[ |
7 | local win = skang.window(200, 100, "G'day planet.", 'testWindow') | 7 | local win = skang.window(200, 100, "G'day planet.", 'testWindow') |
8 | skang.thingasm{win, 'quitter', 'Quits the skang window', types = 'widget', widget='"button", "Quit", 10, 10, 100, 30'} | 8 | skang.thingasm{win, 'quitter', 'Quits the skang window', types = 'widget', widget='"button", "Quit", 10, 10, 100, 30'} |