Skip to content
This repository was archived by the owner on Jan 21, 2026. It is now read-only.

Commit 8cef446

Browse files
committed
Update libdispel
1 parent 4fbfed5 commit 8cef446

1 file changed

Lines changed: 9 additions & 7 deletions

File tree

Libs/LibDispel/LibDispel.lua

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,24 @@
1-
local MAJOR, MINOR = "LibDispel-1.0", 14
1+
local MAJOR, MINOR = "LibDispel-1.0", 15
22
assert(LibStub, MAJOR.." requires LibStub")
33

44
local lib = LibStub:NewLibrary(MAJOR, MINOR)
55
if not lib then return end
66

7-
local Retail = WOW_PROJECT_ID == WOW_PROJECT_MAINLINE
8-
local Classic = WOW_PROJECT_ID == WOW_PROJECT_CLASSIC
9-
local Mists = WOW_PROJECT_ID == WOW_PROJECT_MISTS_CLASSIC
10-
117
local next = next
128
local wipe = wipe
9+
local type = type
10+
11+
local GetCVar = C_CVar.GetCVar
12+
local SetCVar = C_CVar.SetCVar
13+
1314
local CopyTable = CopyTable
1415
local CreateFrame = CreateFrame
1516
local IsPlayerSpell = IsPlayerSpell
1617
local IsSpellKnownOrOverridesKnown = IsSpellKnownOrOverridesKnown
1718

18-
local GetCVar = C_CVar.GetCVar
19-
local SetCVar = C_CVar.SetCVar
19+
local Retail = WOW_PROJECT_ID == WOW_PROJECT_MAINLINE
20+
local Classic = WOW_PROJECT_ID == WOW_PROJECT_CLASSIC
21+
local Mists = WOW_PROJECT_ID == WOW_PROJECT_MISTS_CLASSIC
2022

2123
local function GetList(name, data)
2224
local list = lib[name]

0 commit comments

Comments
 (0)