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
To support #100 we'll add a library behaviour that will provide means to find filters and tags from modules.
A new option will also be introduced, default_libraries :: [Library|Module] that lists any default libraries that should be loaded prior to compiling any templates and are thus a default set of tags and filters always available in all templates (for the current compile invocation, naturally).
The library's module name is first looked up from the list of known libraries (from the new libraries option, added in #100 ), and if not found, it is assumed the name refers to a erlang module directly.
The text was updated successfully, but these errors were encountered:
New options are libraries and default_libraries.
Deprecated but still supported options are custom_filters_modules
and custom_tags_modules.
Note, that the built in filters are still in the old format,
not yet migrated to the new library behaviour.
(this issue supercedes issue #135)
To support #100 we'll add a library behaviour that will provide means to find filters and tags from modules.
A new option will also be introduced,
default_libraries :: [Library|Module]
that lists any default libraries that should be loaded prior to compiling any templates and are thus a default set of tags and filters always available in all templates (for the current compile invocation, naturally).The library's module name is first looked up from the list of known libraries (from the new
libraries
option, added in #100 ), and if not found, it is assumed the name refers to a erlang module directly.The text was updated successfully, but these errors were encountered: