comparison _test/Resources/TTView/Layout/default.tt @ 191:78a18a2b6266

IMPL::Web::View improvements (unstable)
author cin
date Thu, 05 Apr 2012 17:51:51 +0400
parents
children 4d0e1962161c
comparison
equal deleted inserted replaced
190:cd1ff7029a63 191:78a18a2b6266
1 <html>
2 <head>
3 <title>$site.name - $title</title>
4 [% IF dojo.require.size;
5 modules = [];
6 modules.push('"' _ item _ '"') FOREACH item IN dojo.require.unique();
7 %]
8 <script type="text/javascript">
9 require([ [% modules.join(', ') %] ]);
10 </script>
11 [% END %]
12 </head>
13 <body>
14 [% content %]
15 </body>
16 </html>