# HG changeset patch # User Flick # Date 1312586741 25200 # Node ID 276165a0e860616f13c042f93115f48a03ffc117 # Parent 9671965c7a585429c1c06c7004933319e5141330 Don't stash CooldownFrame_SetTimer, to support mods such as 'Cooldowns' which hook it in an event handler. diff -r 9671965c7a58 -r 276165a0e860 ActionButton.lua --- 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 diff -r 9671965c7a58 -r 276165a0e860 MultiCastButton.lua --- a/MultiCastButton.lua Fri Jul 01 14:35:18 2011 -0700 +++ b/MultiCastButton.lua Fri Aug 05 16:25:41 2011 -0700 @@ -7,7 +7,6 @@ local unpack = unpack local GetCVar = GetCVar local GameTooltip_SetDefaultAnchor = GameTooltip_SetDefaultAnchor -local CooldownFrame_SetTimer = CooldownFrame_SetTimer local InCombatLockdown = InCombatLockdown local IsUsableSpell = IsUsableSpell local IsUsableAction = IsUsableAction diff -r 9671965c7a58 -r 276165a0e860 PetActionButton.lua --- a/PetActionButton.lua Fri Jul 01 14:35:18 2011 -0700 +++ b/PetActionButton.lua Fri Aug 05 16:25:41 2011 -0700 @@ -12,7 +12,7 @@ local AutoCastShine_AutoCastStart = AutoCastShine_AutoCastStart local AutoCastShine_AutoCastStop = AutoCastShine_AutoCastStop local SetDesaturation = SetDesaturation -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 GameTooltip_SetDefaultAnchor = GameTooltip_SetDefaultAnchor -- diff -r 9671965c7a58 -r 276165a0e860 StanceButton.lua --- 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