Skip to content

Commit

Permalink
chore: remove dead code (#48)
Browse files Browse the repository at this point in the history
  • Loading branch information
Haroenv authored Oct 12, 2022
1 parent adeb534 commit eb5b363
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,14 +80,6 @@ const format = function(html, { sortAttributes = names => names } = {}) {
append(closeWith);
};

const getAttributeAsString = (name, value) => {
if (value.length === 0) {
return name;
}

return `${name}="${value}"`;
};

const appendAttribute = (name, value) => {
let attribute = ' ' + name;

Expand Down

0 comments on commit eb5b363

Please sign in to comment.