Clean up code
This commit is contained in:
parent
29456126f3
commit
0a6a7246ca
|
|
@ -16,7 +16,6 @@ const isSafe = (attr) => {
|
||||||
|
|
||||||
const removeAttributes = (node) => {
|
const removeAttributes = (node) => {
|
||||||
let attributes = [...node.attributes];
|
let attributes = [...node.attributes];
|
||||||
console.log(attributes);
|
|
||||||
for (const attr of attributes) {
|
for (const attr of attributes) {
|
||||||
if (isSafe(attr)) {
|
if (isSafe(attr)) {
|
||||||
continue;
|
continue;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue