view _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
line wrap: on
line source

<html>
	<head>
		<title>$site.name - $title</title>
		[% IF dojo.require.size;
			modules = [];
			modules.push('"' _ item _ '"') FOREACH item IN dojo.require.unique();
		%]
		<script type="text/javascript">
			require([ [% modules.join(', ') %] ]);
		</script>
		[% END %]
	</head>
	<body>
		[% content %]
	</body>
</html>