diff ActionButton.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 4e325f1ea6e1
children 0cb6a9944497
line wrap: on
line diff
--- a/ActionButton.lua	Fri Jul 01 14:35:18 2011 -0700
+++ b/ActionButton.lua	Fri Aug 05 16:25:41 2011 -0700
@@ -15,7 +15,7 @@
 local IsAutoRepeatAction = IsAutoRepeatAction
 local IsUsableAction = IsUsableAction
 local IsAttackAction = IsAttackAction
-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 GetActionCooldown = GetActionCooldown
 local GetActionTexture = GetActionTexture
 local ATTACK_BUTTON_FLASH_TIME = ATTACK_BUTTON_FLASH_TIME