README.md in handlebars_assets-0.7.2 vs README.md in handlebars_assets-0.8.0
- old
+ new
@@ -105,10 +105,17 @@
be easily renamed. Another common template namespace is `JST`. Just change the `template_namespace` configuration option
when you initialize your application.
HandlebarsAssets::Config.template_namespace = 'JST'
+## Ember
+
+To compile your templates for use with [Ember.js](http://emberjs.com)
+simply turn on the config option
+
+ HandlebarsAssets::Config.ember = true
+
## `.hamlbars`
If you name your templates with the extension `.hamlbars`, you can use Haml syntax for your markup! Use `HandlebarsAssets::Config.haml_options` to pass custom options to the Haml rendering engine.
For example, if you have a file `widget.hamlbars` that looks like this:
@@ -173,9 +180,10 @@
* Spike Brehm (@spikebrehm) : Config.template\_namespace option
* Ken Mayer (@kmayer) : Quick fix for template\_namespace option
* Brad Murray (@wyaeld) : Generic options support
* Blake Williams (@BlakeWilliams) : .handlebars extension
* Tristan Koch (@trkoch) : Strip leading whitespace from compiled templates
+* Brian Cardarella (@bcardarella) : Ember support
# Contributing
Pull requests are welcome! Please do not update the version number.