Commit b7d8058f authored by Tejesh's avatar Tejesh 🖖
Browse files

update docs, catch promise errors

parent 308efca7
Pipeline #85555 passed with stage
in 3 minutes and 27 seconds
...@@ -45,7 +45,7 @@ You can use subtemplates as follows: ...@@ -45,7 +45,7 @@ You can use subtemplates as follows:
```html ```html
<template class="tmpl-head" src="heading.html" data-target="false"></template> <template class="tmpl-head" src="heading.html" data-target="false"></template>
<template class="main" data-template-header=".tmpl-head"> <template class="main" data-template-header=".tmpl-head">
<%= head({title: "Page title"}) %> <%= header({title: "Page title"}) %>
</template> </template>
<script> <script>
$('.main').template() $('.main').template()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment