Skip to content

v0.0.5

Latest
Compare
Choose a tag to compare
@jakub-g jakub-g released this 24 Nov 10:40
· 8 commits to master since this release

Backward incompatible changes in 0.0.5

HSP files syntax changes to HTML-like:

  • the {template}{/template} and # template syntax support is removed in favor of <template></template>
  • JS content has to be explicitly wrapped with <script></script>, including // inline comments
  • Top-level HTML comments <!-- like this one --> are now allowed
  • template syntax changes:
    • {template foo()} becomes <template id="foo">
    • {template foo(arg1, arg2)} becomes <template id="foo" args="arg1, arg2">
    • {template foo using c:MyCtrl} becomes <template id="foo" ctrl="MyCtrl as c">
    • {export template...} -> <template export ...>

$-prefixing of API

See fbcc305