view _test/Resources/TTView/Layout/default.tt @ 192:a9faf883cdce

IMPL::Web::View refactoring
author cin
date Fri, 06 Apr 2012 16:22:38 +0400
parents 78a18a2b6266
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>