Alex Riedler

Results 64 comments of Alex Riedler

@carlosparamio that part isn't actually sent to the browser; that is only used on the backend compile because there is no 'window' object (cause there is no browser).

@cbou is this in regards to this gem, or you mean on the javascript side. The javascript of handlebars.js is here: http://handlebarsjs.com/reference.html you should be able to do `Handlebars.registerHelper('name', func)`

@cbou it is actually possible to inject by overriding: - the compiler - the compiler path - the known_helpers I am not sure if there is any documentation about this...

@mattberridge finally got around to it: https://github.com/AlexRiedler/hbs_examples/tree/helper-example this is without the additional optimization of knownHelpers

@andreasheim you could do this in your own personal javascript; I am now wondering what I could support for this case though as well... Getting proper name stripping is actually...

I tried to get my dev environment working this morning with no luck; I will hopefully have some time tonight if not tomorrow night.

I have not tested partials but @desmondhume can you test on v0.19 and se what happens?

@vladidi is this still an issue in latest release? I would also still need more details to replicate

@mehulkar would love to fix this; PR's are welcome... is it something to do with how registration occurs? maybe for ember and partials?

So View Helpers generally access non-constant data, and since handlebar files (.hbs) are in the asset pipeline (can be precompiled etc), they have no concept of a 'view'; as a...