Модул:Arguments — разлика између измена
Садржај обрисан Садржај додат
Нова страница: -- This module provides easy processing of arguments passed to Scribunto from -- #invoke. It is intended for use by other Lua modules, and should NOT be -- called from… |
мНема описа измене |
||
Ред 1:
-- This module provides easy processing of arguments passed to Scribunto from
-- #invoke. It is intended for use by other Lua modules, and should
-- called from #invoke directly.
Ред 167:
if type(tidyVal) ~= 'function' then
error(
"
.. '(
.. type(tidyVal)
.. ')',
Ред 270:
if options.readOnly then
error(
'
.. tostring(key)
.. '";
2
)
elseif options.noOverwrite and args[key] ~= nil then
error(
'
.. tostring(key)
.. '"; преписивање постојећих аргумената није дозвољено',
2
)
|