view _test/Resources/view/layout/header.tt @ 351:cfd7570c2af2

working on TTView: created TTView class for rendering models
author cin
date Tue, 08 Oct 2013 17:40:35 +0400
parents f356c4894d1b
children
line wrap: on
line source

<!DOCTYPE HTML>
<html>
<head>
<title>$document.title</title>
<script>
    [%
        IF document.dojo.modules.size;
            modules = [];
            FOREACH module IN document.dojo.modules.unique;
                modules.push('"' _ module _ '"');
            END;
    %]
            require([ [% modules.join(', ') %] ]);
    [%
        END;
    %]
</script>
</head>
<body>