From e177a5c94e797d74b3e102a1858419b260885d62 Mon Sep 17 00:00:00 2001 From: Alar of Runetotem Date: Wed, 30 Oct 2024 22:17:51 +0100 Subject: [PATCH] Toc bump --- LibInit.toc | 2 +- LibInit/LibInit.lua | 2 +- LibInit/colorize.lua | 2 ++ LibInit/factory.lua | 2 ++ 4 files changed, 6 insertions(+), 2 deletions(-) diff --git a/LibInit.toc b/LibInit.toc index 3d356b7..d3893ef 100644 --- a/LibInit.toc +++ b/LibInit.toc @@ -1,4 +1,4 @@ -## Interface: 110000,110002 +## Interface: 110005 ## Title: LibInit ## Notes: Makes using ACE 3 libraries even easier ## Author: Alar of Daggerspine diff --git a/LibInit/LibInit.lua b/LibInit/LibInit.lua index 6244850..6f340d6 100644 --- a/LibInit/LibInit.lua +++ b/LibInit/LibInit.lua @@ -15,7 +15,7 @@ local me, ns = ... ---@diagnostic disable-next-line: undefined-field local __FILE__=tostring(debugstack(1,2,0):match("(.*):16:")) -- Always check line number in regexp and file local MAJOR_VERSION = "LibInit" -local MINOR_VERSION = 75 +local MINOR_VERSION = 76 local LibStub=LibStub local dprint=function(...) end local encapsulate = function () diff --git a/LibInit/colorize.lua b/LibInit/colorize.lua index 3226a62..a86f6b6 100644 --- a/LibInit/colorize.lua +++ b/LibInit/colorize.lua @@ -1,3 +1,4 @@ +---@diagnostic disable: param-type-mismatch --------------------------------------------------------------------------------------------------------------------- -- A minimal Crayon like implementation for managing color. -- @name Colorize @@ -39,6 +40,7 @@ local strlower=strlower local type=type local unpack=unpack local _G=_G +---@diagnostic disable-next-line: undefined-global local UIERRORS_HOLD_TIME=UIERRORS_HOLD_TIME or 1 local UIErrorsFrame=UIErrorsFrame local ChatTypeInfo=ChatTypeInfo diff --git a/LibInit/factory.lua b/LibInit/factory.lua index eba82b3..7b886b8 100644 --- a/LibInit/factory.lua +++ b/LibInit/factory.lua @@ -1,3 +1,4 @@ +---@diagnostic disable: redundant-parameter --- Class used to build lightweight widgets for configuration options. -- You can obtain it calling GetFactory() method. -- @@ -26,6 +27,7 @@ local CreateFrame=CreateFrame local type=type local tostring=tostring +---@diagnostic disable-next-line: param-type-mismatch local factory=LibStub:NewLibrary("LibInit-Factory",MINOR_VERSION) --#factory if (not factory) then return end factory.nonce=factory.nonce or 0