refactoring

This commit is contained in:
Manuel Simon Hirsig
2016-07-16 14:04:06 +02:00
parent b97ad322ce
commit c29f59c697
15 changed files with 109 additions and 149 deletions
+3 -3
View File
@@ -14,8 +14,8 @@ end
private.tabs = {}
function public.tab(index, name)
local ret = { m.module(name) }
ret[3].ACTIVE = function()
return index == m.active_tab
ret[2].ACTIVE = function()
return m[name] == m.active_tab()
end
m.tabs[index] = m[name]
return unpack(ret)
@@ -37,7 +37,7 @@ do
end
function public.on_load()
public.version = '3.0.1'
public.version = '3.0.2'
public.blizzard_ui_shown = false
public.bids_loaded = false
public.current_owner_page = nil