refactoring, removed special dropdown look for now (for compatibility reasons with addons that change the default dropdown

This commit is contained in:
Manuel Simon Hirsig
2016-12-09 19:08:46 +01:00
parent 9bcfe6bbc4
commit aba0717cfa
2 changed files with 83 additions and 75 deletions
+8
View File
@@ -12,6 +12,14 @@ do
end
end
M.immutable = setmetatable(T, {
__metatable = false,
__newindex = nop,
__sub = function(_, t)
return setmetatable(T, O('__metatable', false, '__newindex', nop, '__index', t))
end
})
M.select = vararg-function(arg)
for _ = 1, arg[1] do
tremove(arg, 1)