comparison Core.lua @ 68:a177b863ed6c

Event chaining from the data storage to the GUI elements
author John@Yosemite-PC
date Wed, 28 Mar 2012 23:29:36 -0400
parents 331b5e176d79
children b7352f007028
comparison
equal deleted inserted replaced
67:8387dc2ff658 68:a177b863ed6c
46 _G.LibStub("AceConfig-3.0"):RegisterOptionsTable("bsk", options) 46 _G.LibStub("AceConfig-3.0"):RegisterOptionsTable("bsk", options)
47 --optionsFrame = LibStub("AceConfigDialog-3.0"):AddToBlizOptions("bsk", "bsk") 47 --optionsFrame = LibStub("AceConfigDialog-3.0"):AddToBlizOptions("bsk", "bsk")
48 48
49 local HandlePassThrough = function(...) HandleCommand(...) end 49 local HandlePassThrough = function(...) HandleCommand(...) end
50 bsk:RegisterChatCommand("bsk", HandlePassThrough) 50 bsk:RegisterChatCommand("bsk", HandlePassThrough)
51 bsk:OnInitializeSetStaticData()
51 end 52 end
52 53
53 function OnEnable() 54 function OnEnable()
54 CreateWorkingStateFromChanges(db.profile.changes) 55 CreateWorkingStateFromChanges(db.profile.changes)
55 --CreateGUI() 56 --CreateGUI()