Module:MOS intervals: Difference between revisions

ArrowHead294 (talk | contribs)
m +Debugging option
ArrowHead294 (talk | contribs)
mNo edit summary
Line 115: Line 115:


local out_str = p._mos_intervals(args)
local out_str = p._mos_intervals(args)
local debugg = frame.args["debug"]
local debugg = yesno(frame.args["debug"])
return frame:preprocess(debugg == "true" and "<pre>" .. out_str .. "</pre>" or out_str)
return frame:preprocess(debugg == true and "<pre>" .. out_str .. "</pre>" or out_str)
end
end


return p
return p