machty / emblem.js

Emblem.js - Ember-friendly, indented syntax alternative for Handlebars.js
http://emblemjs.com
MIT License
1.04k stars 81 forks source link

Extra "/" in generated component tests #259

Closed andrewtimberlake closed 8 years ago

andrewtimberlake commented 8 years ago

When running ember g component test-component --pod the generated test has an extra slash in each handlebars component statement. Instead of

this.render(hbs`{{test-component}}`);
//...
this.render(hbs`
  {{#test-component}}
    template block text
  {{/test-component}}
`);

the output is

this.render(hbs`{{/test-component}}`);
//...
this.render(hbs`
  {{#/test-component}}
    template block text
  {{//test-component}}
`);

I only get this issue on projects that use emblem.

Environment: Ember : 2.2.0 Ember Data : 2.2.0 jQuery : 2.1.4

machty commented 8 years ago

I think this is actually an issue for https://github.com/Vestorly/ember-cli-emblem, would you mind opening one there?

andrewtimberlake commented 8 years ago

Thank you, I have done that.