Skip to content

v2.5.2

Compare
Choose a tag to compare
@goto-bus-stop goto-bus-stop released this 14 Feb 08:47
· 23 commits to master since this release
8361482

Fix template parts inside comments (#75)

Now you can do:

html`
  <div>
    <!-- ${someElementThatIWantHidden()} -->
    ${someElementThatIWantShown()}
  </div>
`

The someElementThatIWantHidden() call is still evaluated, but hyperx won't output it.