Skip to content

Instantly share code, notes, and snippets.

local DEG_ADDON = _G["DEG_CURRENT_ADDON"]
local function d(msg)
_G[DEG_ADDON.PACKAGE_NAME].plugins[DEG_ADDON.ADDON_NAME_SHORT]:d(msg)
end
local function ts(...)
return tostring(...)
end
local MAJOR, MINOR = "LibSafe", 1.005
local LibSafe, oldminor = LibStub:NewLibrary(MAJOR, MINOR)
if not LibSafe then return end
LibSafe.addonName = ""
LibSafe.addonTable = nil
LibSafe.savedVariablesName = nil
LibSafe.savedVariables = nil
LibSafe.isDeveloper = false