make flat dom quiet again

This commit is contained in:
ansuz 2017-12-04 10:16:17 +01:00
parent 5acbaef28f
commit afcc888a8b

View file

@ -33,7 +33,7 @@ define([], function () {
data.map[id] = el.textContent;
return id;
}
if (!el || !el.attributes) { return void console.error(el); }
if (!el || !el.attributes) { return; }
id = uid();
data.map[id] = [
el.tagName,