wycats / rake-pipeline-web-filters

MIT License
116 stars 36 forks source link

Allow handlebars filter to take an option(proc) that sets the template key name #20

Closed ryanto closed 12 years ago

ryanto commented 12 years ago

Before the Ember.TEMPLATES key was the basename of the file. This allows the user to pass a proc with options that lets them generate a new key. The proc takes an input argument. Let me know if you need more tests (I noticed the options were not tested, so I only added one quick test)

dudleyf commented 12 years ago

Looks good, thanks! If you want to write more tests, they're always appreciated ;)