mirror of
https://github.com/Bluewhale1337/ElvUIModernized.git
synced 2026-07-27 16:34:45 +00:00
cleanup
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
--Cache global variables
|
--Cache global variables
|
||||||
--Lua functions
|
--Lua functions
|
||||||
local _G = getfenv()
|
local _G = _G
|
||||||
local format = string.format
|
local format = string.format
|
||||||
--WoW API / Variables
|
--WoW API / Variables
|
||||||
local GetMouseFocus = GetMouseFocus
|
local GetMouseFocus = GetMouseFocus
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ local lib = LibStub:NewLibrary(MAJOR, MINOR)
|
|||||||
|
|
||||||
if not lib then return end
|
if not lib then return end
|
||||||
|
|
||||||
local _G = getfenv(0)
|
local _G = _G
|
||||||
|
|
||||||
local pairs = _G.pairs
|
local pairs = _G.pairs
|
||||||
local type = _G.type
|
local type = _G.type
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
-- LibStub is a simple versioning stub meant for use in Libraries. http://www.wowace.com/wiki/LibStub for more info
|
-- LibStub is a simple versioning stub meant for use in Libraries. http://www.wowace.com/wiki/LibStub for more info
|
||||||
-- LibStub is hereby placed in the Public Domain Credits: Kaelten, Cladhaire, ckknight, Mikk, Ammo, Nevcairiel, joshborke
|
-- LibStub is hereby placed in the Public Domain Credits: Kaelten, Cladhaire, ckknight, Mikk, Ammo, Nevcairiel, joshborke
|
||||||
local LIBSTUB_MAJOR, LIBSTUB_MINOR = "LibStub", 2 -- NEVER MAKE THIS AN SVN REVISION! IT NEEDS TO BE USABLE IN ALL REPOS!
|
local LIBSTUB_MAJOR, LIBSTUB_MINOR = "LibStub", 2 -- NEVER MAKE THIS AN SVN REVISION! IT NEEDS TO BE USABLE IN ALL REPOS!
|
||||||
local _G = getfenv()
|
local _G = _G
|
||||||
local strfind, strfmt = string.find, string.format
|
local strfind, strfmt = string.find, string.format
|
||||||
local LibStub = _G[LIBSTUB_MAJOR]
|
local LibStub = _G[LIBSTUB_MAJOR]
|
||||||
|
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
-- ----------------------------------------------------------------------------
|
-- ----------------------------------------------------------------------------
|
||||||
-- Localized Lua globals.
|
-- Localized Lua globals.
|
||||||
-- ----------------------------------------------------------------------------
|
-- ----------------------------------------------------------------------------
|
||||||
local _G = getfenv(0)
|
local _G = _G
|
||||||
local strsub, strlen, strmatch, gsub = strsub, strlen, strmatch, gsub
|
local strsub, strlen, strmatch, gsub = strsub, strlen, strmatch, gsub
|
||||||
local max, match = max, match
|
local max, match = max, match
|
||||||
local securecall, issecure = securecall, issecure
|
local securecall, issecure = securecall, issecure
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
local E, L, V, P, G = unpack(ElvUI)
|
local E, L, V, P, G = unpack(ElvUI)
|
||||||
|
|
||||||
local _G = getfenv()
|
local _G = _G
|
||||||
local UPDATE_DELAY = 0.1
|
local UPDATE_DELAY = 0.1
|
||||||
|
|
||||||
local ActionHasRange = ActionHasRange
|
local ActionHasRange = ActionHasRange
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ local S = E:GetModule("Skins");
|
|||||||
|
|
||||||
--Cache global variables
|
--Cache global variables
|
||||||
--Lua functions
|
--Lua functions
|
||||||
local _G = getfenv()
|
local _G = _G
|
||||||
local unpack = unpack
|
local unpack = unpack
|
||||||
local pairs = pairs
|
local pairs = pairs
|
||||||
--WoW API / Variables
|
--WoW API / Variables
|
||||||
|
|||||||
@@ -109,7 +109,7 @@ local function BuildABConfig()
|
|||||||
colorGroup = {
|
colorGroup = {
|
||||||
order = 12,
|
order = 12,
|
||||||
type = "group",
|
type = "group",
|
||||||
name = "COLORS",
|
name = L["Colors"],
|
||||||
guiInline = true,
|
guiInline = true,
|
||||||
get = function(info)
|
get = function(info)
|
||||||
local t = E.db.actionbar[ info[getn(info)] ]
|
local t = E.db.actionbar[ info[getn(info)] ]
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
<Ui xmlns="http://www.blizzard.com/wow/ui/">
<Include file="AceGUI-3.0\AceGUI-3.0.xml"/>
<Include file="AceGUI-3.0\widgets\widgets.xml"/>
<Include file="AceConfig-3.0\AceConfig-3.0.xml"/>
<Include file="AceDBOptions-3.0\AceDBOptions-3.0.xml"/>
<Include file="AceGUI-3.0-SharedMediaWidgets\widget.xml"/>
</Ui>
|
<Ui xmlns="http://www.blizzard.com/wow/ui/">
<Include file="AceGUI-3.0\AceGUI-3.0.xml"/>
<Include file="AceGUI-3.0\widgets\widgets.xml"/>
<Include file="AceConfig-3.0\AceConfig-3.0.xml"/>
<Include file="AceDBOptions-3.0\AceDBOptions-3.0.xml"/>
<Include file="AceGUI-3.0-SharedMediaWidgets\widget.xml"/>
</Ui>
|
||||||
Reference in New Issue
Block a user