mirror of
https://github.com/morris/vanilla-todo.git
synced 2025-08-23 22:24:39 +02:00
add html comments to html template strings
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
import { AppIcon } from './AppIcon.js';
|
||||
import { formatMonth } from './util.js';
|
||||
|
||||
const datesCell = `
|
||||
const datesCell = /* html */ `
|
||||
<td><button class="app-button"></button></td>
|
||||
`;
|
||||
|
||||
const datesRow = `
|
||||
const datesRow = /* html */ `
|
||||
<tr>
|
||||
${datesCell}
|
||||
${datesCell}
|
||||
@@ -28,7 +28,7 @@ export function AppDatePicker(el) {
|
||||
};
|
||||
let show = false;
|
||||
|
||||
el.innerHTML = `
|
||||
el.innerHTML = /* html */ `
|
||||
<h4 class="header">
|
||||
<button class="app-button -circle previousmonth">
|
||||
<i class="app-icon" data-id="chevron-left-16"></i>
|
||||
|
Reference in New Issue
Block a user