Модуль:Предмет: различия между версиями
Pok (обсуждение | вклад) Нет описания правки |
Pok (обсуждение | вклад) Нет описания правки |
||
| Строка 31: | Строка 31: | ||
local isVert = argsRaw.vertical ~= nil | local isVert = argsRaw.vertical ~= nil | ||
-- Если id найден в JsonPaths, префиксы | -- Если id найден в JsonPaths, префиксы проекта нужны | ||
local hasId = (JsonPaths.has(id) == true) | local hasId = (JsonPaths.has(id) == true) | ||
local projPrefix = hasId and | local projPrefix = hasId and JsonPaths.prefix() or '' | ||
local projPrefixFile = hasId and | local projPrefixFile = hasId and JsonPaths.prefixFile() or '' | ||
-- Получение имени | -- Получение имени | ||