renovations
This commit is contained in:
parent
24171550ae
commit
a62682e188
49 changed files with 620 additions and 894 deletions
|
@ -16,10 +16,12 @@
|
|||
</script>
|
||||
|
||||
<script>
|
||||
var tmpl = document.getElementById('menu-template').innerHTML;
|
||||
var tmpl = _.template(
|
||||
document.getElementById('menu-template').innerHTML,
|
||||
{sourceURL: '/template/menu-template'}
|
||||
);
|
||||
|
||||
var compiled = _.template(tmpl, null, {sourceURL: '/template/menu-template'});
|
||||
var result = compiled({ title: "Заголовок" });
|
||||
var result = tmpl({ title: "Заголовок" });
|
||||
|
||||
document.write(result);
|
||||
</script>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue