aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/GuiLua/test.lua
diff options
context:
space:
mode:
authorDavid Walter Seikel2015-03-22 17:35:10 +1000
committerDavid Walter Seikel2015-03-22 17:35:10 +1000
commitb75e596af61da88aa705491778a5fd6845ab43ba (patch)
tree1f969b3c4012ae0fb81ab7591ea559403efe855a /src/GuiLua/test.lua
parentNew idea about contact sets. (diff)
downloadSledjHamr-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.lua2
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".
3do -- Only I'm not gonna indent this. 3do -- Only I'm not gonna indent this.
4 4
5local skang = require 'skang' 5skang = require 'skang'
6local _M = skang.moduleBegin('test', nil, 'Copyright 2014 David Seikel', '0.1', '2014-03-27 03:57:00', [[ 6local _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'}