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

Use template strings intstead of string literals with htmbars-inline-precompile #90

Conversation

rondale-sc
Copy link
Contributor

In htmlbars-inline-precompile both string literals and template strings
are supported, but in glimmer-inline-precompile you may only pass a
template literal.

I ran a codemod to change all these in our unit tests to bring this in
line to the other precompile lib

@rondale-sc
Copy link
Contributor Author

Little bit of extra context. I found this out when I tried to copy over these tests for use in a library consumed by glimmer applications. Figured I'd see if the codemod I wrote there would be helpful here too.

Cheers 🍻

@rwjblue
Copy link
Collaborator

rwjblue commented Nov 5, 2018

Mind rebasing now that master is green?

htmbars-inline-precompile

In htmlbars-inline-precompile both string literals and template strings
are supported, but in `glimmer-inline-precompile` you may only pass a
template literal.

I ran a codemod to change all these in our unit tests to bring this in
line to the other precompile lib
@rondale-sc rondale-sc force-pushed the use-tagged-templates-with-hbs-helper-rather-than-literals branch from b5839db to b38310c Compare November 5, 2018 19:11
@rondale-sc
Copy link
Contributor Author

@rwjblue Should be gtg

@rwjblue rwjblue merged commit 9ea48e6 into jmurphyau:master Nov 5, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants