Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Blazeflack
ElvUI_CustomTags
Commits
52f8b907
Commit
52f8b907
authored
Aug 23, 2017
by
Blazeflack
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
31902a22
f8c231b6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
ElvUI_CustomTags/core.lua
ElvUI_CustomTags/core.lua
+7
-1
No files found.
ElvUI_CustomTags/core.lua
View file @
52f8b907
...
...
@@ -9,7 +9,7 @@ local _G = _G
local
unpack
,
pairs
,
assert
=
unpack
,
pairs
,
assert
local
twipe
=
table
.
wipe
local
ceil
,
sqrt
,
floor
,
abs
=
math.ceil
,
math.sqrt
,
math.floor
,
math.abs
local
format
=
string.format
local
format
,
strupper
=
string.format
,
strupper
--WoW API
local
IsInGroup
=
IsInGroup
local
IsInRaid
=
IsInRaid
...
...
@@ -529,6 +529,12 @@ ElvUF.Tags.Methods["deficit:name:colors"] = function(unit)
return
String
end
ElvUF
.
Tags
.
Events
[
'name:caps'
]
=
'UNIT_NAME_UPDATE'
ElvUF
.
Tags
.
Methods
[
'name:caps'
]
=
function
(
unit
)
local
name
=
UnitName
(
unit
)
return
name
~=
nil
and
strupper
(
name
)
or
''
end
ElvUF
.
Tags
.
Methods
[
"classcolor:player"
]
=
function
()
local
_
,
unitClass
=
UnitClass
(
"player"
)
local
String
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment