Improve web instance (#149)
This commit is contained in:
@@ -30,7 +30,7 @@
|
||||
const data = {
|
||||
//Template elements
|
||||
style, fonts, errors:[],
|
||||
partials:new Set(partials),
|
||||
partials:new Set([...(set.config.order||"").split(",").map(x => x.trim()).filter(x => partials.includes(x)), ...partials]),
|
||||
//Plural helper
|
||||
s(value, end = "") {
|
||||
return value !== 1 ? {y:"ies", "":"s"}[end] : end
|
||||
|
||||
Reference in New Issue
Block a user