Mercurial > pub > Impl
diff _test/Resources/TTView/complex.tt @ 194:4d0e1962161c
Replaced tabs with spaces
IMPL::Web::View - fixed document model, new features (control classes, document constructor parameters)
author | cin |
---|---|
date | Tue, 10 Apr 2012 20:08:29 +0400 |
parents | 78a18a2b6266 |
children | 7a920771fd8e |
line wrap: on
line diff
--- a/_test/Resources/TTView/complex.tt Tue Apr 10 08:13:22 2012 +0400 +++ b/_test/Resources/TTView/complex.tt Tue Apr 10 20:08:29 2012 +0400 @@ -1,12 +1,12 @@ [% - META version = 1, title = "my document 2", layout= "Layout/default"; + META version = 1, title = "my document 2", layout= "Layout/default"; - BLOCK CTOR; - TPanel = require('My/Org/Panel'); - append( TPanel.new('information', data = this.data ) ); - END; + BLOCK CTOR; + TPanel = require('My/Org/Panel'); + append( TPanel.new('information', data = data ) ); + END; %] [% FOREACH node IN this.childNodes() %] - <div>[% node.Render() %]</div> + <div>[% node.Render() %]</div> [% END %] \ No newline at end of file