Hi Norbert
I'm improving the doc. I added some text on section and
others..
And on list with collection I have the following behavior
and I do not understand why on string.
| templateString context |
templateString := 'Shown.
{{#number}}
Shown too!
{{/number}}'.
context := { 'number' -> #(1 2 3) } asDictionary.
(MustacheTemplate on: templateString) value: context
'Shown.
Shown too!
Shown too!
Shown too!
'
| templateString context |
templateString := 'Shown.
{{#number}}
Shown too!
{{/number}}'.
context := { 'number' -> '1 2 3' } asDictionary.
(MustacheTemplate on: templateString) value: context
'Shown.
Shown too!
Shown too!
Shown too!
Shown too!
Shown too!
'
On 11/7/14 10:53, Norbert
Hartl wrote:
Hi guys
I would like to experiment with template for a small
web project I have (my web page) and
I would like to try mustache. Is there any tutorial?
doc?
I know that "jose maria aguerra" wrote a tutorial
but I cannot find it anymore.
Norbert