Mercurial > wow > reaction
comparison StanceButton.lua @ 292:276165a0e860 1.1 beta 10
Don't stash CooldownFrame_SetTimer, to support mods such as 'Cooldowns' which hook it in an event handler.
author | Flick |
---|---|
date | Fri, 05 Aug 2011 16:25:41 -0700 |
parents | 5b9c0164a491 |
children |
comparison
equal
deleted
inserted
replaced
290:9671965c7a58 | 292:276165a0e860 |
---|---|
4 local _G = _G | 4 local _G = _G |
5 local CreateFrame = CreateFrame | 5 local CreateFrame = CreateFrame |
6 local format = string.format | 6 local format = string.format |
7 local GetCVar = GetCVar | 7 local GetCVar = GetCVar |
8 local GameTooltip_SetDefaultAnchor = GameTooltip_SetDefaultAnchor | 8 local GameTooltip_SetDefaultAnchor = GameTooltip_SetDefaultAnchor |
9 local CooldownFrame_SetTimer = CooldownFrame_SetTimer | 9 -- local CooldownFrame_SetTimer = CooldownFrame_SetTimer -- don't stash this API, look it up every time to support some mods that hook it, e.g. Cooldowns |
10 local InCombatLockdown = InCombatLockdown | 10 local InCombatLockdown = InCombatLockdown |
11 local GetNumShapeshiftForms = GetNumShapeshiftForms | 11 local GetNumShapeshiftForms = GetNumShapeshiftForms |
12 local GetShapeshiftFormInfo = GetShapeshiftFormInfo | 12 local GetShapeshiftFormInfo = GetShapeshiftFormInfo |
13 local IsUsableSpell = IsUsableSpell | 13 local IsUsableSpell = IsUsableSpell |
14 local GetSpellInfo = GetSpellInfo | 14 local GetSpellInfo = GetSpellInfo |