Mercurial > wow > reaction
comparison ReAction.lua @ 212:e275a8663a16
Merge stable to default
| author | Flick <flickerstreak@gmail.com> |
|---|---|
| date | Thu, 18 Nov 2010 13:12:16 -0800 |
| parents | 97949dbe987f 3e451836ce6d |
| children | 8ba8ab8bf6dd |
comparison
equal
deleted
inserted
replaced
| 211:97949dbe987f | 212:e275a8663a16 |
|---|---|
| 205 end | 205 end |
| 206 | 206 |
| 207 function ReAction:TearDownBars() | 207 function ReAction:TearDownBars() |
| 208 for name, bar in pairs(self.bars) do | 208 for name, bar in pairs(self.bars) do |
| 209 if bar then | 209 if bar then |
| 210 self.bars[name] = DestroyBar(bar) | 210 self.bars[name] = self:DestroyBar(bar) |
| 211 end | 211 end |
| 212 end | 212 end |
| 213 self.barsInitialized = false | 213 self.barsInitialized = false |
| 214 end | 214 end |
| 215 | 215 |
| 241 | 241 |
| 242 function ReAction:EraseBar(x) | 242 function ReAction:EraseBar(x) |
| 243 local bar, name = self:GetBar(x) | 243 local bar, name = self:GetBar(x) |
| 244 if bar and name then | 244 if bar and name then |
| 245 self.callbacks:Fire("OnEraseBar", bar, name) | 245 self.callbacks:Fire("OnEraseBar", bar, name) |
| 246 DestroyBar(bar) | 246 self:DestroyBar(bar) |
| 247 self.db.profile.bars[name] = nil | 247 self.db.profile.bars[name] = nil |
| 248 end | 248 end |
| 249 end | 249 end |
| 250 | 250 |
| 251 local blizzFrames = { | 251 local blizzFrames = { |
