diff 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
line wrap: on
line diff
--- a/StanceButton.lua	Fri Jul 01 14:35:18 2011 -0700
+++ b/StanceButton.lua	Fri Aug 05 16:25:41 2011 -0700
@@ -6,7 +6,7 @@
 local format = string.format
 local GetCVar = GetCVar
 local GameTooltip_SetDefaultAnchor = GameTooltip_SetDefaultAnchor
-local CooldownFrame_SetTimer = CooldownFrame_SetTimer
+-- 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
 local InCombatLockdown = InCombatLockdown
 local GetNumShapeshiftForms = GetNumShapeshiftForms
 local GetShapeshiftFormInfo = GetShapeshiftFormInfo