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

Нет описания правки
Нет описания правки
 
Строка 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 '' or JsonPaths.prefix()
local projPrefix = hasId and JsonPaths.prefix() or ''
local projPrefixFile = hasId and '' or JsonPaths.prefixFile()
local projPrefixFile = hasId and JsonPaths.prefixFile() or ''


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