Status: Accepted
Owner: [email protected]
Labels: Type-Defect Priority-Medium

New issue 26 by [email protected]: Default argument to sections and repeated  
sections should be @
http://code.google.com/p/json-template/issues/detail?id=26

For repeated sections, a common idiom to put them inside a section:

{.section foo}
   {.repeated section}  {# leave off @ here}
   {.end}
{.end}

If sections grow predicates, then you might do something like:

{.section foo}
   Stuff here
   {.section?plural}
     Only in the plural case
   {.end}
{.end}

{.section?plural} is the same as {.section @ ? plural}

(still don't like the ? syntax)



--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "JSON 
Template" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/json-template?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to