Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parser/AST: string interpolation support #97

Closed
natrim opened this issue Sep 9, 2016 · 1 comment
Closed

Parser/AST: string interpolation support #97

natrim opened this issue Sep 9, 2016 · 1 comment

Comments

@natrim
Copy link

natrim commented Sep 9, 2016

I'm submitting a bug report

  • Library Version:
    1.0.0
  • Language:
    TypeScript

Current behavior:
template literals don't work with ternary operator

<template bindable="what">
  <div>
    ${what ? `WHAT: ${what}!` : 'what?'}
  </div>
</template>

Expected behavior:
i expected it to work like

<template bindable="what">
  <div>
    ${what ? 'WHAT: '+what+'!' : 'what?'}
  </div>
</template>
@jdanyow jdanyow changed the title template literals don't work with ternary operator Parser/AST: string interpolation support Sep 13, 2016
@jdanyow
Copy link
Contributor

jdanyow commented Sep 13, 2016

Issue moved to aurelia/binding #500 via ZenHub

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants