Mercurial > pub > Impl
comparison _test/Resources/TTView/My/Org/Panel.tt @ 189:08015e2803f1
IMPL::Vew::Web - fixed memory leaks, more tests
author | cin |
---|---|
date | Wed, 04 Apr 2012 02:49:45 +0400 |
parents | 029c9610528c |
children | cd1ff7029a63 |
comparison
equal
deleted
inserted
replaced
188:029c9610528c | 189:08015e2803f1 |
---|---|
8 dojoClass = dojoDefaultClass; | 8 dojoClass = dojoDefaultClass; |
9 visualClass = this.nodeProperty('visualClass') || 'classic'; | 9 visualClass = this.nodeProperty('visualClass') || 'classic'; |
10 END; | 10 END; |
11 %] | 11 %] |
12 [% BLOCK RENDER %] | 12 [% BLOCK RENDER %] |
13 <div class="$visualClass" data-dojo-type="$dojoClass">$this.nodeValue</div> | 13 [% |
14 TPreview = document.require('My/Org/TextPreview'); | |
15 FOREACH text IN data; | |
16 CALL this.appendChild(TPreview.new('preview', nodeValue = text )); | |
17 END; | |
18 %] | |
19 <div class="$visualClass" data-dojo-type="$dojoClass"> | |
20 [% FOREACH node IN this.selectNodes('preview') %] | |
21 [% node.Render() %] | |
22 <hr /> | |
23 [% END %] | |
24 </div> | |
14 [% END %] | 25 [% END %] |