mirror of
https://github.com/morris/vanilla-todo.git
synced 2025-08-21 13:21:29 +02:00
add html comments to html template strings
This commit is contained in:
@@ -8,7 +8,7 @@ import { TodoItemInput } from './TodoItemInput.js';
|
||||
export function TodoList(el) {
|
||||
let items = [];
|
||||
|
||||
el.innerHTML = `
|
||||
el.innerHTML = /* html */ `
|
||||
<div class="items"></div>
|
||||
<div class="todo-item-input"></div>
|
||||
`;
|
||||
|
Reference in New Issue
Block a user