Msx Versions Save

JSX for Mithril.js 0.x

v0.4.1

9 years ago
  • Fixed missing comma in bin script.

v0.4.0

9 years ago
  • 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

9 years ago
  • 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's m() function is assumed to be in scope.
    • More ES6 transforms are supported when using the harmony flag.
    • 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: true option (or --source-map-inline flag on the command line).
  • Changed license back to MIT, now that React is licensed under BSD.

v0.2.1

9 years ago
  • Added a precompile option, defaulting to true.
  • Added a no-precompile option to the msx command.

v0.2.0

9 years ago
  • Known tag names are now precompiled to tag objects [liamcurry]
    • Unknown tag names will continue to generate m() calls