Skip to content

Commit

Permalink
docs: update to component registration function
Browse files Browse the repository at this point in the history
Changes to be committed:
modified:   src/auro-alaska.js
modified:   src/auro-icon.js
  • Loading branch information
blackfalcon committed Apr 21, 2023
1 parent 18b4d85 commit ac0e95d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions src/auro-alaska.js
Original file line number Diff line number Diff line change
Expand Up @@ -149,8 +149,7 @@ class AuroAlaska extends BaseIcon {
}
}

/* istanbul ignore else */
// define the name of the custom component
// default internal definition
if (!customElements.get("auro-alaska")) {
customElements.define("auro-alaska", AuroAlaska);
}
3 changes: 1 addition & 2 deletions src/auro-icon.js
Original file line number Diff line number Diff line change
Expand Up @@ -166,8 +166,7 @@ export class AuroIcon extends BaseIcon {
}
}

/* istanbul ignore else */
// define the name of the custom component
// default internal definition
if (!customElements.get("auro-icon")) {
customElements.define("auro-icon", AuroIcon);
}

0 comments on commit ac0e95d

Please sign in to comment.