1
0
mirror of https://github.com/kepler155c/opus synced 2025-10-17 00:37:39 +00:00

package manager UI

This commit is contained in:
kepler155c@gmail.com
2018-11-06 16:43:24 -05:00
parent 99b2fa1b0b
commit 1a4ef3e581
4 changed files with 192 additions and 25 deletions

View File

@@ -221,6 +221,7 @@ function Util.findAll(t, name, value)
end
function Util.shallowCopy(t)
if not t then error('Util.shallowCopy: invalid table', 2) end
local t2 = { }
for k,v in pairs(t) do
t2[k] = v