Mercurial > pub > Impl
view _test/Resources/TTView/complex.tt @ 338:c78dfbe658bd
improved string maps loading for TT documents
author | cin |
---|---|
date | Sat, 15 Jun 2013 02:32:11 +0400 |
parents | aeeb57a12046 |
children |
line wrap: on
line source
[% META version = 1, title = "my document 2", layout="default"; TPanel = require('My/Org/Panel'); this.childNodes = [ TPanel.new(data = data ) ]; %] [% FOREACH node IN this.childNodes() %] <div>[% node.Render() %]</div> [% END %]