module refactoring, fubar compatibility fix

This commit is contained in:
Manuel Simon Hirsig
2016-10-09 16:21:30 +02:00
parent a35690db1a
commit a26665148d
10 changed files with 385 additions and 405 deletions
+6 -3
View File
@@ -2,6 +2,12 @@ module 'aux'
local gui = require 'aux.gui'
function LOAD()
for _, info in tab_info do
tabs:create_tab(info.name)
end
end
do
local frame = CreateFrame('Frame', 'AuxFrame', UIParent)
tinsert(UISpecialFrames, 'AuxFrame')
@@ -44,7 +50,4 @@ do
btn:SetScript('OnClick',function()
if AuctionFrame:IsVisible() then HideUIPanel(AuctionFrame) else ShowUIPanel(AuctionFrame) end
end)
end
for _, info in tab_info do
tabs:create_tab(info.name)
end