You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sometimes when configuring Nunjucks I want to just chain the addFilter / addGlobal functions etc. Does anyone else think it would make sense if addFilter / addGlobal would return the env object?
Sometimes when configuring Nunjucks I want to just chain the addFilter / addGlobal functions etc. Does anyone else think it would make sense if addFilter / addGlobal would return the env object?
So code like this would be possible:
I could do the PR if others thought it was a good idea. These are the functions I was thinking of making chainable:
The text was updated successfully, but these errors were encountered: