cleanup Libs

This commit is contained in:
Pinya
2018-07-18 15:11:20 +03:00
parent 8b44916c87
commit 8d19a3f345
12 changed files with 29 additions and 45 deletions
-11
View File
@@ -53,17 +53,6 @@ for k, v in next, {
end
end,
UpdateElement = function(self, name)
local unit = self.unit
if(not unit or not UnitExists(unit)) then return end
local element = elements[name]
if(not element or not self:IsElementEnabled(name) or not activeElements[self]) then return end
if(element.update) then
element.update(self, "OnShow", unit)
end
end,
--[[ frame:EnableElement(name, unit)
Used to activate an element for the given unit frame.