This repository was archived by the owner on Nov 21, 2017. It is now read-only.
Releases: insin/msx
Releases · insin/msx
v0.4.1
v0.4.0
- 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
v0.3.0
- Merged in changes since JSX Transformer 0.10.0 up to the current release
version, 0.12.2:- The
/* @jsx m */pragma is no longer needed - Mithril'sm()function is
assumed to be in scope. - More ES6 transforms are
supported when using theharmonyflag. - JSX Spread Attributes
allow you to merge objects into a tag's attrs, but with MSX you must ensure
Object.assign()is available in order to use them. - More HTML and SVG tag names are supported.
- Inline sourcemaps can be generated by passing a
sourceMap: trueoption (or
--source-map-inlineflag on the command line).
- The
- Changed license back to MIT, now that React is licensed under BSD.