refactor: remove wrapper folder

This commit is contained in:
JuanZoran
2023-03-13 19:50:28 +08:00
parent 1fe20004ec
commit 7731c6c8cb
11 changed files with 74 additions and 79 deletions

View File

@ -25,12 +25,7 @@ local text_meta = {
item_meta.__index = item_meta
text_meta.__index = function(self, key)
local res = text_meta[key]
if res then
return res
elseif key == 1 then
return table.concat(self.strs, self.step)
end
return text_meta[key] or (key == 1 and table.concat(self.strs, self.step) or nil)
end
return {