Skip to content

Releases: ariatemplates/hashspace

v0.0.5

24 Nov 10:40
Compare
Choose a tag to compare

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