Permalink
Browse files

Actually, let's just kill the function instead.

  • Loading branch information...
haste committed Jan 9, 2011
1 parent e8119c3 commit dcd6c258395d8a19c93a3222289654a8301e7d86
Showing with 1 addition and 5 deletions.
  1. +1 −2 blizzard.lua
  2. +0 −3 private.lua
View
@@ -2,7 +2,6 @@ local parent, ns = ...
local oUF = ns.oUF
local Private = oUF.Private
-local dummy = Private.dummy
local enableTargetUpdate = Private.enableTargetUpdate
local HandleFrame = function(baseName)
@@ -15,7 +14,7 @@ local HandleFrame = function(baseName)
if(frame) then
frame:UnregisterAllEvents()
- frame.Show = dummy
+ frame.Show = frame.Hide
frame:Hide()
local health = frame.healthbar
View
@@ -1,9 +1,6 @@
local parent, ns = ...
local Private = ns.oUF.Private
-function Private.dummy()
-end
-
function Private.argcheck(value, num, ...)
assert(type(num) == 'number', "Bad argument #2 to 'argcheck' (number expected, got "..type(num)..")")

0 comments on commit dcd6c25

Please sign in to comment.