This repository has been archived by the owner on Jul 6, 2020. It is now read-only.
Releases: chrisdotcode/lmth
Releases · chrisdotcode/lmth
yeshua-ben
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.
popular-city
Major Changes
N/A
Minor Changes
-
Allows non-array, non-string values to be
node.class
values.node.class
is always an array, so if we're a string, we split on spaces, like how classes are specified when creating HTML strings, or if we're a non-array, non-string value, we wrap ourselves into single-element array.
Patch Changes
- Moves the location of the
isBooleanAttribute
function.
green-tea
chunky-monkey
chunky-monkey-rc2
The fourth official release of lmth.
v4.0.0 The fourth official release of lmth.
The third official release of lmth.
v3.0.0 The third official release of lmth.
The second official release of lmth.
When I added the style property to the node object, I forgot to update Node.freeze
accordingly.
The first official release of lmth.
v1.0.0 The first official release of lmth.