module refactoring

This commit is contained in:
Simon Hirsig
2017-11-01 15:01:41 +01:00
parent 9989ceb42f
commit 8823b34904
36 changed files with 669 additions and 646 deletions
+2 -2
View File
@@ -2,7 +2,7 @@ module 'aux'
local gui = require 'aux.gui'
function LOAD()
function handle.LOAD()
for _, v in ipairs(tab_info) do
tabs:create_tab(v.name)
end
@@ -32,7 +32,7 @@ end
do
tabs = gui.tabs(AuxFrame, 'DOWN')
tabs._on_select = on_tab_click
function M.set.tab(id) tabs:select(id) end
function M.set_tab(id) tabs:select(id) end
end
do
local btn = gui.button(AuxFrame)