setmetatable for groups was not a very good idea
This commit is contained in:
parent
0b6c3ec281
commit
7fb0f73779
@ -86,7 +86,9 @@ function realtest.register_liquid(name, LiquidDef)
|
||||
local empty_name = bucket_name(name)
|
||||
local groups = {["bucket_with_"..LiquidDef.name]=1}
|
||||
if LiquidDef.bucket_groups then
|
||||
setmetatable(groups, {__index = LiquidDef.bucket_groups})
|
||||
for k, v in pairs(LiquidDef.bucket_groups) do
|
||||
groups[k] = v
|
||||
end
|
||||
end
|
||||
local stack = 1
|
||||
if LiquidDef.bucket_stack then
|
||||
|
Loading…
x
Reference in New Issue
Block a user