Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
New: interpolations as functions within elements content
This aligns uhtml with lighterhtml and hyperHTML, so that whenever an interpolation is a callback, it'll be invoked right away, passing along the node. This new feature enables plugins and extensions to what uhtml offers already, beside making it identical, in behavior, to lighterhtml.
- Loading branch information
1 parent
65de14e
commit fd7f365
Showing
8 changed files
with
21 additions
and
6 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Oops, something went wrong.