Releases: chrisdotcode/lmth
Release list
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.classvalues.node.classis 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
isBooleanAttributefunction.
green-tea
Major changes:
- Fixes infinite recurse when converting to DOM tree. (6b9d677)
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.