raycmorgan/Mu

feature request: expose render context

atk opened this issue · 0 comments

atk commented

One of the rather nice features of janl's implementation of Mustache in JS is that the context is exposed, so it can be overwritten in order to provide certain filters/defaults/features.

It can be exposed quite easily by changing function walkToFind(context, name) in render.js to render.context = function(context, name).

I would really like to see this in Mu. Thank you for your time.