comparison Core.lua @ 58:bdf3aba93aa9

Refactored the way the window for /ia invested works so I can add more tabs.
author Asa Ayers <Asa.Ayers@Gmail.com>
date Sun, 25 Jul 2010 15:51:00 -0700
parents 234896be4087
children 4ec321eb0dfe
comparison
equal deleted inserted replaced
57:9cb0bc93ed11 58:bdf3aba93aa9
43 ItemAuditor:RegisterFrame(ItemAuditor_DebugFrame) 43 ItemAuditor:RegisterFrame(ItemAuditor_DebugFrame)
44 44
45 -- /run ItemAuditor.db.profile.show_debug_frame_on_startup = true 45 -- /run ItemAuditor.db.profile.show_debug_frame_on_startup = true
46 if self.db.profile.show_debug_frame_on_startup then 46 if self.db.profile.show_debug_frame_on_startup then
47 ItemAuditor_DebugFrame:Show() 47 ItemAuditor_DebugFrame:Show()
48 self:CreateFrames() 48 self:CreateFrame()
49 end 49 end
50 end 50 end
51 51
52 local registeredEvents = {} 52 local registeredEvents = {}
53 local originalRegisterEvent = addon.RegisterEvent 53 local originalRegisterEvent = addon.RegisterEvent