Mercurial > wow > reaction
comparison modules/State.lua @ 229:b4c100011c75
don't register state namespace now that it's not being used
| author | Flick |
|---|---|
| date | Tue, 22 Mar 2011 11:13:53 -0700 |
| parents | ad40cd3fc7e9 |
| children | 2669f737d9d7 |
comparison
equal
deleted
inserted
replaced
| 228:ad40cd3fc7e9 | 229:b4c100011c75 |
|---|---|
| 98 | 98 |
| 99 | 99 |
| 100 -- module event handlers -- | 100 -- module event handlers -- |
| 101 | 101 |
| 102 function module:OnInitialize() | 102 function module:OnInitialize() |
| 103 self.db = ReAction.db:RegisterNamespace( moduleID, | |
| 104 { | |
| 105 profile = { | |
| 106 bars = { }, | |
| 107 } | |
| 108 } | |
| 109 ) | |
| 110 | |
| 111 self:RegisterEvent("UPDATE_SHAPESHIFT_FORMS") | 103 self:RegisterEvent("UPDATE_SHAPESHIFT_FORMS") |
| 112 | 104 |
| 113 ReAction:RegisterBarOptionGenerator(self, "GetBarOptions") | 105 ReAction:RegisterBarOptionGenerator(self, "GetBarOptions") |
| 114 | 106 |
| 115 ReAction.RegisterCallback(self, "OnCreateBar","OnRefreshBar") | 107 ReAction.RegisterCallback(self, "OnCreateBar","OnRefreshBar") |
