Mercurial > wow > reaction
comparison modules/ReAction_Action/ReAction_Action.lua @ 56:88283658fec4
cleanup string concat occurrences
| author | Flick <flickerstreak@gmail.com> |
|---|---|
| date | Fri, 25 Apr 2008 23:40:03 +0000 |
| parents | 7e09c02ae620 |
| children | 7430a8dd4e90 |
comparison
equal
deleted
inserted
replaced
| 55:54308b48123c | 56:88283658fec4 |
|---|---|
| 211 local function Constructor( self, bar, idx, config ) | 211 local function Constructor( self, bar, idx, config ) |
| 212 self.bar, self.idx, self.config = bar, idx, config | 212 self.bar, self.idx, self.config = bar, idx, config |
| 213 | 213 |
| 214 local barFrame = bar:GetFrame() | 214 local barFrame = bar:GetFrame() |
| 215 | 215 |
| 216 config.name = config.name or "ReAction_"..bar:GetName().."_"..idx | 216 config.name = config.name or ("ReAction_%s_%d"):format(bar:GetName(),idx) |
| 217 self.name = config.name | 217 self.name = config.name |
| 218 config.actionID = ActionIDList[config.actionID] -- gets a free one if none configured | 218 config.actionID = ActionIDList[config.actionID] -- gets a free one if none configured |
| 219 | 219 |
| 220 local f = CreateFrame("CheckButton", self.name, barFrame, "ActionBarButtonTemplate") | 220 local f = CreateFrame("CheckButton", self.name, barFrame, "ActionBarButtonTemplate") |
| 221 | 221 |
