Module:Tabs: Difference between revisions

Jump to navigation Jump to search
Want an adless experience? Log in or Create an account.
update Guid usage
(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

Navigation menu