init
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
-- all this is is a frame that ensures that the SV is a table type
|
||||
local addonName = ...
|
||||
local loader = CreateFrame("FRAME")
|
||||
loader:RegisterEvent("ADDON_LOADED")
|
||||
loader:SetScript("OnEvent", function(self, _, addon)
|
||||
if addon == addonName then
|
||||
if type(WeakAurasArchive) ~= "table" then
|
||||
WeakAurasArchive = {}
|
||||
end
|
||||
self:UnregisterEvent("ADDON_LOADED")
|
||||
end
|
||||
end)
|
||||
@@ -0,0 +1,7 @@
|
||||
## Interface: 80300
|
||||
## Title: WeakAuras Archive
|
||||
## LoadOnDemand: 1
|
||||
## SavedVariables: WeakAurasArchive
|
||||
## Dependencies: WeakAuras
|
||||
|
||||
WeakAurasArchive.lua
|
||||
Reference in New Issue
Block a user