Patrick McElhaney

Results 76 comments of Patrick McElhaney

Oh man, I just saw this. Thanks!

Thank you! I've opened an issue at https://github.com/rip747/Mustache.cfc/issues/16 where the latest and greatest Mustache.cfc development is happening and pointed to this pull request.

I think so. Get the latest version at @rip747's branch. https://github.com/rip747/Mustache.cfc

There's actually a [spec that defines how lambdas are supposed to work](https://github.com/mustache/spec/blob/master/specs/~lambdas.yml). > Lambdas are a special-cased data type for use in interpolations and > sections. > > When used...

The current context should already be available to the "lambda" function. The function is a member of that context, so the current context is `this`. That should be enough. What...

Interesting. But I'm confused. If you're passing a struct, where does the function come in? Does the struct contain a pointer to a function? (Can you do that in ColdFusion?)

In that case, I'm not opposed to passing the context as an argument when the context is a struct. Would that work?

BTW, my gut tells me that if you don't want to expose certain methods of your object, it would be better to create a wrapper/facade component. That way the interface...

I don't think that replacing the lambda with a cached value is a good idea. Again, it's directly contrary to the spec. ``` name: Interpolation - Multiple Calls desc: Interpolated...

Sure, it's open source so we're free to disagree and experiment with different ideas. :) I'm actually not even using ColdFusion at this point -- just trying to give you...