Results 26 comments of Les Hill

Hi @eddietejeda, At the moment, nothing leaps out. Just to get you oriented the `magic` happens [here](https://github.com/leshill/handlebars_assets/blob/master/lib/handlebars_assets/tilt_handlebars.rb#L22). Good luck, ping me if you have specific questions.

Hi @grigio, @noiseunion, The template is available to your JavaScript as an entry of the `HandlebarsTemplates` object (or whatever you have configured for your namespace). So I am a bit...

Hi @noiseunion, Interesting. So you want to render the Handlebars template inside a rails view on the server OR as a JavaScript template in the browser? Let me think about...

Hi @grigio, @noiseunion, Do either of you want to take a stab at this? I am still swamped.

Hi @eddietejeda, @AlexRiedler, Yes, this is a good idea. I have been considering extracting the commonality from handlebars_assets and hogan_assets for some time. I am going to take a pass...

Hi @AlexRiedler, Cool! Yup, there are a number of competing factors here. Support for additional processing (i.e. `haml` and `slim`), better support for views and reuse from within Rails, etc…...

Hi @AlexRiedler, @eddietejeda, I put up my rough WIP here https://github.com/leshill/js_assets/tree/initial_implementation . This is just a refactored extraction of just the JS machinery without the handlebars specific features. Next step...

Hi @deepak, Looks good, but needs at least a minimal rendering test :)

Hi @AlexRiedler, That would be great!

Hi @wulftone, @AlexRiedler has this right. The slim integration is shallow, we pass through slim and then handlebars. This seems like a syntax incompatibility.