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

Out of date mustache example for client-side-templates extension in the docs. #2407

Closed
airblast-dev opened this issue Mar 17, 2024 · 0 comments

Comments

@airblast-dev
Copy link
Contributor

airblast-dev commented Mar 17, 2024

The linked jsbin in the docs is quite out of date, so I will focus on the full example on the doc page itself.

  • The json from https://jsonplaceholder.typicode.com/todos/1 returns a UserId, and not a UserID. So in the result we get a blank string. Simply making the last character lowercase fixes this issue.
  • Clicking the button on the full example will keep in some artifacts from the template. We end up with a bunch of "{% raw %}", and "{% endraw %}". Simply removing those from the template fixes the issue.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant