Модуль:Предмет: различия между версиями

Нет описания правки
Нет описания правки
 
(не показана 1 промежуточная версия этого же участника)
Строка 31: Строка 31:
local isVert = argsRaw.vertical ~= nil
local isVert = argsRaw.vertical ~= nil


local projPrefix = JsonPaths.prefix()
-- Если id найден в JsonPaths, префиксы проекта нужны
local projPrefixFile = JsonPaths.prefixFile()
local hasId = (JsonPaths.has(id) == true)
local projPrefix = hasId and JsonPaths.prefix() or ''
local projPrefixFile = hasId and JsonPaths.prefixFile() or ''


-- Получение имени
-- Получение имени