-
-
Notifications
You must be signed in to change notification settings - Fork 472
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improvements to Async Filters in Nunjucks
1. Adds a new `addAsyncFilter` configuration API method 2. Adds support for `async function` on standard `addFilter` method in Nunjucks 3. Throws an error if you return a promise from a `function` when using `addFilter` with Nunjucks Fixes #1382 Fixes #2536 Fixes #2254
- Loading branch information
Showing
2 changed files
with
73 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters