Auto format the code
This commit is contained in:
@@ -124,7 +124,6 @@ function lib:Register(kind, identifier, data)
|
|||||||
return retval
|
return retval
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
---Return the media that matches the given kind and identifier. May return nil if the media does not exist.
|
---Return the media that matches the given kind and identifier. May return nil if the media does not exist.
|
||||||
---@param kind string The kind of media you are requesting. E.g. "font" or "background"
|
---@param kind string The kind of media you are requesting. E.g. "font" or "background"
|
||||||
---@param identifier string Named identifier for the media
|
---@param identifier string Named identifier for the media
|
||||||
@@ -136,7 +135,6 @@ function lib:Get(kind, identifier)
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
---Return a sorted list of identifiers. May return nil if there is no media of that kind.
|
---Return a sorted list of identifiers. May return nil if there is no media of that kind.
|
||||||
---@param kind string The kind of media you are requesting. E.g. "font" or "background"
|
---@param kind string The kind of media you are requesting. E.g. "font" or "background"
|
||||||
---@return string[] | nil
|
---@return string[] | nil
|
||||||
@@ -144,7 +142,6 @@ function lib:GetList(kind)
|
|||||||
return self.mediaList[kind]
|
return self.mediaList[kind]
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
---Return a table with identifier keys and media data values
|
---Return a table with identifier keys and media data values
|
||||||
---@param kind string The kind of media you are requesting. E.g. "font" or "background"
|
---@param kind string The kind of media you are requesting. E.g. "font" or "background"
|
||||||
---@return table<string,any> | nil
|
---@return table<string,any> | nil
|
||||||
|
Reference in New Issue
Block a user