mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-03-24 02:11:10 +01:00
Some tweaks for beta
This commit is contained in:
@@ -41,9 +41,9 @@ export function twig({
|
||||
templateFunctions.map((fn) => {
|
||||
const shortArgs =
|
||||
fn.args
|
||||
.slice(0, 2)
|
||||
.slice(0, 1)
|
||||
.map((a) => a.name)
|
||||
.join(', ') + (fn.args.length > 2 ? ', …' : '');
|
||||
.join(', ') + (fn.args.length > 1 ? ', …' : '');
|
||||
return {
|
||||
name: fn.name,
|
||||
type: 'function',
|
||||
|
||||
Reference in New Issue
Block a user