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

Make block rendering more developer friendly #1

Merged
merged 1 commit into from
Mar 11, 2016
Merged

Conversation

mplatts
Copy link

@mplatts mplatts commented Mar 10, 2016

normal hamlbars:

{{#if messages}}<ul class='alert'>
  {{#each messages}}<li>{{{this}}}</li>{{/each}}
</ul>{{/if}}

hamlbars with my modifications:

{{#if messages}}
  <ul class='alert'>
    {{#each messages}}
      <li>{{{this}}}</li>
    {{/each}}
  </ul>
{{/if}}

@sethjeffery
Copy link

👍 I also recommend making a PR from this fork into the main hamlbars repo.

sethjeffery pushed a commit that referenced this pull request Mar 11, 2016
Make block rendering more developer friendly
@sethjeffery sethjeffery merged commit 17d079f into master Mar 11, 2016
@sethjeffery sethjeffery deleted the formatting branch March 11, 2016 08:32
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

Successfully merging this pull request may close these issues.

2 participants