Skip to content

Commit

Permalink
chore: clearup
Browse files Browse the repository at this point in the history
  • Loading branch information
WittBulter committed Oct 19, 2018
1 parent 367e613 commit c6b150b
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions app.lua
Expand Up @@ -5,13 +5,13 @@ local infos = addon:GetModule('Constants'):GetInfos()
local Actions = addon:GetModule('Actions')
local Utils = addon:GetModule('Utils')

local ef = CreateFrame('Frame')
ef:RegisterEvent('ADDON_ACTION_BLOCKED')
ef:RegisterEvent("ADDON_ACTION_FORBIDDEN")
ef:SetScript('OnEvent', function (s, e, name, desc)
local type = (e == 'ADDON_ACTION_BLOCKED' and 'BLOCKED') or 'FORBIDDEN'
print('Error '..type.. ':', name, desc)
end)
-- local ef = CreateFrame('Frame')
-- ef:RegisterEvent('ADDON_ACTION_BLOCKED')
-- ef:RegisterEvent("ADDON_ACTION_FORBIDDEN")
-- ef:SetScript('OnEvent', function (s, e, name, desc)
-- local type = (e == 'ADDON_ACTION_BLOCKED' and 'BLOCKED') or 'FORBIDDEN'
-- print('Error '..type.. ':', name, desc)
-- end)

function addon:OnInitialize()
local setTexture = function (frame)
Expand Down

0 comments on commit c6b150b

Please sign in to comment.