Fixed 2 minor bugs

This commit is contained in:
Robert Jelic
2025-03-06 14:16:45 +01:00
parent 1aa0ff62a1
commit be2077385e
2 changed files with 24 additions and 8 deletions

View File

@@ -199,6 +199,7 @@ function BaseElement:fromXML(node, scope)
end
end
end
return self
end
local Container = {}
@@ -215,6 +216,7 @@ function Container:loadXML(content, scope)
end
end
end
return self
end
function Container:fromXML(nodes, scope)
@@ -228,6 +230,7 @@ function Container:fromXML(nodes, scope)
end
end
end
return self
end
return {