"ഘടകം:Road data/parser" എന്ന താളിന്റെ പതിപ്പുകൾ തമ്മിലുള്ള വ്യത്യാസം

Content deleted Content added
imported>Happy5214
Handle error when neither country nor state is passed
Generalized the case where a table is provided instead of a format string; “arg” specifies the argument to switch on (“route” by default)
വരി 23:
formatStr = hookFunction(formatStr, args)
else
local routearg = args[formatStr.arg or "route"]
formatStr = formatStr[routearg] or formatStr.default
end
end
"https://ml.wikipedia.org/wiki/ഘടകം:Road_data/parser" എന്ന താളിൽനിന്ന് ശേഖരിച്ചത്