This repository has been archived by the owner on Jul 6, 2020. It is now read-only.
Major Changes
-
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.