pothi.love/0012-on.initialize

11 lines
253 B
Plaintext

on.initialize = function()
Files = love.filesystem.getDirectoryItems('data')
for i=#Files,1,-1 do
if (not Files[i]:match('%.md$')) or Files[i]:match('%-%d+.md$') then
table.remove(Files, i)
end
end
table.sort(Files)
new_definition()
A()
end