Another annotation test

This commit is contained in:
Robert Jelic
2025-03-14 03:58:43 +01:00
parent 440fd62caf
commit 4e26fec0b1
2 changed files with 4 additions and 8 deletions

View File

@@ -338,11 +338,7 @@ function Image:addFrame()
return self
end
--- Updates the specified frame with the provided data
--- @shortDescription Updates the specified frame with the provided data
--- @param frameIndex number The index of the frame to update
--- @param frame table The new frame data
--- @return Image self The Image instance
function Image:updateFrame(frameIndex, frame)
local frames = self.get("bimg")
frames[frameIndex] = frame

View File

@@ -48,10 +48,10 @@ end
local function getFilesInLua(path)
local files = {}
local function scanDir(dir)
local p = io.popen('dir "'..dir..'" /b /s')
if not p then return end
local p = io.popen('find "'..dir..'" -name "*.lua"')
if not p then print("Couldn't find "..dir) return end
for file in p:lines() do
if file:match("%.lua$") then