Another annotation test
This commit is contained in:
@@ -338,11 +338,7 @@ function Image:addFrame()
|
|||||||
return self
|
return self
|
||||||
end
|
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)
|
function Image:updateFrame(frameIndex, frame)
|
||||||
local frames = self.get("bimg")
|
local frames = self.get("bimg")
|
||||||
frames[frameIndex] = frame
|
frames[frameIndex] = frame
|
||||||
|
|||||||
@@ -50,8 +50,8 @@ local function getFilesInLua(path)
|
|||||||
local files = {}
|
local files = {}
|
||||||
|
|
||||||
local function scanDir(dir)
|
local function scanDir(dir)
|
||||||
local p = io.popen('dir "'..dir..'" /b /s')
|
local p = io.popen('find "'..dir..'" -name "*.lua"')
|
||||||
if not p then return end
|
if not p then print("Couldn't find "..dir) return end
|
||||||
|
|
||||||
for file in p:lines() do
|
for file in p:lines() do
|
||||||
if file:match("%.lua$") then
|
if file:match("%.lua$") then
|
||||||
|
|||||||
Reference in New Issue
Block a user