view _test/Resources/TTView/Layout/default.tt @ 197:6b1dda998839

Added IMPL::declare, IMPL::require, to simplify module definitions IMPL::Transform now admires object inheritance while searching for the transformation Added HTTP some exceptions IMPL::Web::Application::RestResource almost implemented
author sergey
date Thu, 19 Apr 2012 02:10:02 +0400
parents 7a920771fd8e
children d357b5d85d25
line wrap: on
line source

[% view.mode = 'default' %]
<html>
    <head>
        <title>$site.name - [% document.title || template.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>