Skip to content
This repository was archived by the owner on Nov 21, 2017. It is now read-only.

v0.4.0

Choose a tag to compare

@insin insin released this 11 May 12:08
· 4 commits to master since this release
  • Mithril 0.2 component support:
    • <TitleCase> and <nested.object> tags are now treated as Mithril components - <lowercase> and <lowercase-hyphenated> tags are treated as regular tags.
    • Component attributes will be passed as the second argument to m.component().
    • Component child contents will be wrapped in an array and passed as the third argument to m.component().
  • Merged in changes since JSX Transformer 0.12.2 up to the last version before React's visitors were moved into jstransform itself.
    • Removed hardcoded list of known tags. Any lowercase name, allowing for hyphenation, is now accepted as an HTML tag.
    • New transforms: es6-call-spread, reserved-words