Remove dump table
This commit is contained in:
20
Actions.lua
20
Actions.lua
@@ -296,26 +296,6 @@ local function Partition(text, size, deliminer)
|
||||
return ret
|
||||
end
|
||||
|
||||
---@param table table
|
||||
---@param depth number?
|
||||
function DumpTable(table, depth)
|
||||
if depth == nil then
|
||||
depth = 0
|
||||
end
|
||||
if (depth > 200) then
|
||||
print("Error: Depth > 200 in dumpTable()")
|
||||
return
|
||||
end
|
||||
for k, v in pairs(table) do
|
||||
if (type(v) == "table") then
|
||||
print(string.rep(" ", depth) .. k .. ":")
|
||||
DumpTable(v, depth + 1)
|
||||
else
|
||||
print(string.rep(" ", depth) .. k .. ": ", v)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
local importingSet = nil
|
||||
local importExportFrame = CreateFrame("Frame", "ABSImportExportFrame", UIParent)
|
||||
importExportFrame:SetSize(512, 512)
|
||||
|
Reference in New Issue
Block a user