You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
According to http://handlebarsjs.com/expressions.html, "A Handlebars helper call is a simple identifier, followed by zero or more parameters", which was the case as of handlebars.rb 0.3.2.
I had added a custom "helperMissing" helper to my Handlebars::Context subclasses that made use of this feature for simple property lookup on the object. As of 0.4.0, this no longer works: the helperMissing helper is simply not invoked unless there are one or more parameters supplied.
According to http://handlebarsjs.com/expressions.html, "A Handlebars helper call is a simple identifier, followed by zero or more parameters", which was the case as of handlebars.rb 0.3.2.
I had added a custom "helperMissing" helper to my Handlebars::Context subclasses that made use of this feature for simple property lookup on the object. As of 0.4.0, this no longer works: the helperMissing helper is simply not invoked unless there are one or more parameters supplied.
Here's a link to a commit on my project that illustrates this.
Is this by design, and the handlebars docs are outdated? Or is this a bug?
The text was updated successfully, but these errors were encountered: