view _test/Resources/view/layout/header.tt @ 365:7c621bb95e53

working on the metadata model
author sergey
date Mon, 02 Dec 2013 02:13:12 +0400
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>