-
Notifications
You must be signed in to change notification settings - Fork 22
basic extends template functionality #21
base: master
Are you sure you want to change the base?
Conversation
I didn't think extends was part of the Mustache spec. Did they add it recently? |
http://stackoverflow.com/questions/7925931/can-mustache-templates-do-template-extension Currently mustache.java, hogan.js and phly_mustache support template On 20 December 2012 12:58, Dan G. Switzer, II [email protected]:
|
I read all those threads before posting, but it's never been officially added to the language from what I can see. Since we've been trying to keep Mustache.cfc to support what's in the official spec, what I'd do is create a sub-class of Mustache and add the functionality to that component--which should be fairly straightforward. That way we expose the functionality for those that want it and if it becomes official, we push into into the base Mustache.cfc. Does that make sense? |
what is the status of this? are we going to merge it? |
It's not actually part of the official spec as far as I can tell, but there On Thursday, January 3, 2013, Anthony Petruzzi wrote:
Dan G. Switzer, II |
that's an excellent idea. |
That sounds like a good plan, Time is limited at the moment, I will rework On 4 January 2013 02:07, Anthony Petruzzi [email protected] wrote:
|
no rush. take you time. |
Hi Tony,
I have branched the extends functionality and added a MXUnit test - extendsTemplate()
Gary