Skip to content
This repository was archived by the owner on Jul 6, 2020. It is now read-only.

Releases: chrisdotcode/lmth

yeshua-ben

Choose a tag to compare

@chrisdotcode chrisdotcode released this 22 Mar 21:43

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

Choose a tag to compare

@chrisdotcode chrisdotcode released this 22 Mar 19:51

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

Choose a tag to compare

@chrisdotcode chrisdotcode released this 07 Mar 21:47

Major changes:
- Fixes infinite recurse when converting to DOM tree. (6b9d677)

chunky-monkey

Choose a tag to compare

@chrisdotcode chrisdotcode released this 07 Mar 20:14

Major changes:

  • Adds the ability to add event listeners to nodes. (5d12564)
  • Sets the default node.style from undefined to null. (5d12564)

chunky-monkey-rc2

chunky-monkey-rc2 Pre-release
Pre-release

Choose a tag to compare

@chrisdotcode chrisdotcode released this 07 Mar 19:18

Major changes:
- Adds the ability to add event listeners to nodes. (5d12564)
- Sets the default node.style from undefined to null. (5d12564)

The fourth official release of lmth.

Choose a tag to compare

@chrisdotcode chrisdotcode released this 04 Mar 21:14
v4.0.0

The fourth official release of lmth.

The third official release of lmth.

Choose a tag to compare

@chrisdotcode chrisdotcode released this 04 Mar 20:01
v3.0.0

The third official release of lmth.

The second official release of lmth.

Choose a tag to compare

@chrisdotcode chrisdotcode released this 03 Mar 21:14

When I added the style property to the node object, I forgot to update Node.freeze accordingly.

The first official release of lmth.

Choose a tag to compare

@chrisdotcode chrisdotcode released this 03 Mar 18:11
v1.0.0

The first official release of lmth.