Changes
Add subst-able entry point
function EquipmentInfo.Infobox(frame)
function EquipmentInfo.Infobox(frame)
local args = getArgs{frame = frame:getParent()}
local args = getArgs{frame = frame:getParent()}
return EquipmentInfoKai:Infobox(args["name"])
end
function EquipmentInfo._Infobox(frame)
local args = getArgs{frame = frame}
return EquipmentInfoKai:Infobox(args["name"])
return EquipmentInfoKai:Infobox(args["name"])
end
end
return EquipmentInfo
return EquipmentInfo