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

fix: updated base template to handlebars #1463

Merged
merged 9 commits into from
Dec 30, 2022
Merged

Conversation

mfranzke
Copy link
Contributor

@mfranzke mfranzke commented Dec 29, 2022

Closes #1462

Summary of changes:

  • updated base template syntax from mustache to handlebars. The previous syntax (sections like {{#) might have been fine for mustache, but we should both explicitly use the block helpers (like e.g. {{#each , {{#with or {{#if ) as well as (elsewhere causing the bug described in the linked issue) mind the context of variables within each helper (navigated one level to the top by {{ ../patternPartial }} within {{#each …}}).
  • Updated the template type on script tag from mustache to handlebars, wouldn't hurt …

the previous syntax might have been fine for mustache, but we should both explicitly use the block helpers as well as mind the context of variables within each helpers.
from mustache to handlebars; wouldn't hurt …
@JosefBredereck
Copy link
Contributor

good catch

@JosefBredereck JosefBredereck merged commit c69c658 into dev Dec 30, 2022
@JosefBredereck JosefBredereck deleted the fix-default-tab branch December 30, 2022 16:51
antonia-rose pushed a commit to quelltexterin/nemo-uikit-workshop that referenced this pull request Apr 12, 2023
* fix: we need to update that template to handlebars

the previous syntax might have been fine for mustache, but we should both explicitly use the block helpers as well as mind the context of variables within each helpers.

* chore: additionally updating the template type

from mustache to handlebars; wouldn't hurt …

* Update index.html

* fix: this ones actually an iteration

* Revert "fix: this ones actually an iteration"

This reverts commit 7def87d.

* fix: we actually need to the previous declaration here

* chore: previous formatting

* chore: changed my mind again …
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bug: Code panels
2 participants