17,260
edits
(refactored with a single entrypoint accepting flattened-tree args) |
(update Guid usage) |
||
Line 20: | Line 20: | ||
function TabContainer.new( args ) | function TabContainer.new( args ) | ||
return setmetatable( { | return setmetatable( { | ||
id = args.id or Guid(), | id = args.id or Guid.new(), | ||
contents = {}, | contents = {}, | ||
args = args | args = args |