mirror of
https://github.com/Bluewhale1337/ElvUIModernized.git
synced 2026-07-27 08:24:44 +00:00
cleanup
This commit is contained in:
@@ -7,7 +7,7 @@ local ElvUF = ns.oUF;
|
||||
--Lua functions
|
||||
local _G = _G
|
||||
local setmetatable, getfenv, setfenv = setmetatable, getfenv, setfenv
|
||||
local type, unpack, select, pairs = type, unpack, select, pairs
|
||||
local type, unpack, pairs = type, unpack, pairs
|
||||
local min, random = math.min, math.random
|
||||
local format = string.format
|
||||
local find = string.find
|
||||
|
||||
@@ -7,7 +7,6 @@ local match = string.match
|
||||
local strsplit = strsplit
|
||||
local tostring = tostring
|
||||
local format = format
|
||||
local select = select
|
||||
local getn = table.getn
|
||||
--WoW API / Variables
|
||||
local CreateFrame = CreateFrame
|
||||
|
||||
@@ -3,7 +3,7 @@ local UF = E:GetModule("UnitFrames");
|
||||
|
||||
--Cache global variables
|
||||
--Lua functions
|
||||
local unpack, tonumber = unpack, tonumber
|
||||
local unpack = unpack
|
||||
local abs, min = abs, math.min
|
||||
--WoW API / Variables
|
||||
local CreateFrame = CreateFrame
|
||||
|
||||
@@ -101,7 +101,6 @@ end
|
||||
function UF:FrameGlow_PositionGlow(frame, mainGlow, powerGlow)
|
||||
if not (frame and frame.VARIABLES_SET) then return end
|
||||
|
||||
local infoPanel = frame.InfoPanel
|
||||
local additionalPower = frame.AdditionalPower
|
||||
local runes = frame.Runes
|
||||
local comboPoints = frame.ComboPoints
|
||||
|
||||
@@ -2,10 +2,8 @@ local E, L, V, P, G = unpack(ElvUI)
|
||||
local UF = E:GetModule("UnitFrames")
|
||||
|
||||
local _G = _G
|
||||
local tinsert = table.insert
|
||||
|
||||
local CreateFrame = CreateFrame
|
||||
local IsInInstance = IsInInstance
|
||||
|
||||
local ns = oUF
|
||||
local ElvUF = ns.oUF
|
||||
|
||||
@@ -6,7 +6,6 @@ local _G = _G
|
||||
local floor = math.floor
|
||||
local format = string.format
|
||||
--WoW API / Variables
|
||||
local GetPVPTimer = GetPVPTimer
|
||||
local GetTime = GetTime
|
||||
local UnitClass = UnitClass
|
||||
local UnitClassification = UnitClassification
|
||||
|
||||
@@ -16,8 +16,6 @@ local CreateFrame = CreateFrame
|
||||
local UnitFrame_OnEnter = UnitFrame_OnEnter
|
||||
local UnitFrame_OnLeave = UnitFrame_OnLeave
|
||||
local IsInInstance = IsInInstance
|
||||
local InCombatLockdown = InCombatLockdown
|
||||
local GetInstanceInfo = GetInstanceInfo
|
||||
local UnregisterStateDriver = UnregisterStateDriver
|
||||
local RegisterStateDriver = RegisterStateDriver
|
||||
local MAX_RAID_MEMBERS = MAX_RAID_MEMBERS
|
||||
|
||||
Reference in New Issue
Block a user