leshill / handlebars_assets

Use handlebars.js templates with the Rails asset pipeline.
MIT License
646 stars 159 forks source link

Adding template_namespace configuration option #28

Closed spikebrehm closed 12 years ago

spikebrehm commented 12 years ago

This pull allows you to change the client-side template namespace from HandlebarsTemplates to JST or anything else.

HandlebarsAssets::Config.template_namespace = 'JST'
leshill commented 12 years ago

Hi @spikebrehm,

Thanks! Pulling this in and cutting a gem.

spikebrehm commented 12 years ago

Awesome thanks! Glad I could contribute.