Минимизация css, корректировка правил, хеширование файлов, настройки сборок (#6)

This commit is contained in:
Nikolay
2020-07-09 16:56:54 +03:00
committed by GitHub
parent 72cc821f99
commit 3fe0b232fd
7 changed files with 1471 additions and 44 deletions

View File

@ -56,7 +56,6 @@ class Component {
const content = document.querySelector(mainNodeSelector).content;
if (content.children.length > 1) {
const message = '<template> должен содержать только один элемент children';
alert(message);
throw new Error(message);
}
this.mainNode = content.firstElementChild.cloneNode(true);