view _test/Resources/view/layout/header.tt @ 417:3ed0c58e9da3 ref20150831

working on di container, tests
author cin
date Mon, 02 Nov 2015 01:56:53 +0300
parents cfd7570c2af2
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>