This repository has been archived by the owner on Jul 6, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adds the ability for child nodes to be an array of nodes.
Prior, something like: l.ul([l.li(null, 'First element'), liItems.map(item => l.li(null, item))]) would not be possible. The programmer's intent is clear, but lmth did not support it without needing to concat the first li element and the array of lis manually. Now, something like the above example works automatically. This is a major change.
- Loading branch information
1 parent
beddc27
commit 19ec005
Showing
3 changed files
with
19 additions
and
16 deletions.
There are no files selected for viewing
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
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