Another annotation test
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user