From b75e596af61da88aa705491778a5fd6845ab43ba Mon Sep 17 00:00:00 2001 From: David Walter Seikel Date: Sun, 22 Mar 2015 17:35:10 +1000 Subject: Add internal reference for skang modules, so they can find themselves. --- src/GuiLua/test.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/GuiLua/test.lua') 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 @@ -- By virtue of the fact we are stuffing our result into package.loaded[], just plain running this works as "loading the module". do -- Only I'm not gonna indent this. -local skang = require 'skang' +skang = require 'skang' local _M = skang.moduleBegin('test', nil, 'Copyright 2014 David Seikel', '0.1', '2014-03-27 03:57:00', [[ local win = skang.window(200, 100, "G'day planet.", 'testWindow') skang.thingasm{win, 'quitter', 'Quits the skang window', types = 'widget', widget='"button", "Quit", 10, 10, 100, 30'} -- cgit v1.1