backbone.js - How to access model attribute in dust.js section -


i want know how access model attribute array, inside dust section {#} {/}.

model:  "a":new array();  "b":{  "c":new array(); }  dust template:  {#a}  want access {c} here... {/a} 

thanks

to access {#c} when inside {#a}. first need go {#b} inside there need go down c {#a}.

so need this:

{#a}     {name}     {#b}               {#c}          {name}       {/c}     {/b}         {/a} 

demo jsfiddle.


Comments

Popular posts from this blog

ios - iPhone/iPad different view orientations in different views , and apple approval process -

java Extracting Zip file -

C# WinForm - loading screen -