Re: [Pharo-users] Mustache and section

2016-12-03 Thread Norbert Hartl


> Am 02.12.2016 um 15:56 schrieb Hilaire :
> 
> Hello,
> 
> While iterating within a Mustache section is it possible to refer to a
> tag defined out of the list.
> 
> For example, is it possible to do so:
> 
> templateString := 'A list of numbers
> {{#list}}
> Number {{label}} : {{number}} <= #label in section
> {{/list}}'.
> 
> context := {
>   'label' -> 'fine.
>   'list' -> {
>  { 'number' -> 1 } asDictionary.
>  { 'number' -> 2 } asDictionary.
>}
> } asDictionary
> 
> 
> to get output as:
> 'A list of numbers
> Number fine: 1
> Number fine: 2
> '
> 
> So far in my attempt the #label tag is not processed.
> 
> Am I interpreting something wrongly?
> 
No, what you want is not possible. To achieve it you should copy label into the 
elements of the list section.

Norbert
> Thanks
> 
> Hilaire
> 
> -- 
> Dr. Geo
> http://drgeo.eu
> 
> 




Re: [Pharo-users] GitFileTree on Pharo 5.0

2016-12-03 Thread Dimitris Chloupis
>
> Pharo is unable to access a library it needs; this is the native boost
> plugin which is normally bundled with it (and the cairo lib?)...
>
> Guys, anybody with a mac around there?
>
> Thierry
>


Nativeboost has been removed and been replaced by UFFI, all libraries that
used Nativeboost are now using UFFI including the Cairo backend library for
Athens.