yaymukund / grunt-ember-handlebars

Precompile ember templates in grunt using only headless-ember.js and ember.js
MIT License
34 stars 26 forks source link

Default processPartialName should not strip `_` #15

Closed yaymukund closed 11 years ago

yaymukund commented 11 years ago

The default processPartialName method strips the _ from the beginning of the filename (e.g. _user.hbs => 'user' template). Ember's partial helper expects the partial to be prepended with _

You can override it, but the default is wrong.