symfony/AsseticBundle — pull request #261 by peshi (2014-01-01 18:42:45+00:00)
Title: Added EmberPrecompile filter.

Ability to use ember-precompile to precompile handlebar templates for usage with Ember.js.

Tested with stable release of Ember.js 1.2.0, Handlebars.js 1.2.1

Example configuration:
```
assetic:
....
filters:
cssrewrite: ~
emberprecompile:
bin: /usr/local/bin/ember-precompile
apply_to: "\.hbs$"
```

```
{% javascripts filter='?emberprecompile' output='js/compiled-handlebars.js'
'@YourBundle/Resources/public/hbs/*.hbs'
%}

{% endjavascripts %}
```

For those that are eager to try this out but can't use ember-precompile which is still using an old versions of Ember and Handlebars.
https://github.com/gabrielgrant/node-ember-precompile

I have included a private npm repository while waiting for PR to merge.

You can install it by using the following command-line:
```
npm install git+https://github.com/hyperunknown/node-ember-precompile.git#latest -g
```