মডিউল:Message box: সংশোধিত সংস্করণের মধ্যে পার্থক্য

only add id when cfg.useId is true
don't make the box object available from other modules - it's not really designed for that kind of use
৫২১ নং লাইন: ৫২১ নং লাইন:
end
end


local function makeBox(boxType, args)
local function main(boxType, args)
     box:setTitle(args)
     box:setTitle(args)
     local cfg = box:getConfig(boxType)
     local cfg = box:getConfig(boxType)
৫৫৩ নং লাইন: ৫৫৩ নং লাইন:
             args[k] = v
             args[k] = v
         end
         end
         return makeBox(boxType, args)
         return main(boxType, args)
     end
     end
end
end


local p = {
local p = {
     box = box,
     main = main,
    makeBox = makeBox,
     mbox = makeWrapper('mbox')
     mbox = makeWrapper('mbox')
}
}