Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix iconset to not set attribute in constructor #68

Merged
merged 2 commits into from
Jun 19, 2019

Conversation

cuberoot
Copy link
Collaborator

Description

Fix code that violates the requirements for custom element constructors (see spec).

Chrome was flagging this as a problem in LrWeb.

Related Issue

#67

Motivation and Context

This issue is causing iconsets to not work in my project in Chrome Canary

How Has This Been Tested?

All tests pass and I checked that the iconsets were loading in the Storybook stories

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • I have signed the Adobe Open Source CLA.
  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

Fix code that violates the requirements for custom element constructors (see spec: https://html.spec.whatwg.org/multipage/custom-elements.html#custom-element-conformance).

Chrome was flagging this as a problem in LrWeb.
@cuberoot cuberoot requested a review from benjamind June 19, 2019 04:46
Copy link
Contributor

@benjamind benjamind left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can remove the empty constructor now.

@cuberoot cuberoot merged commit fd3f313 into master Jun 19, 2019
@Westbrook Westbrook deleted the cuberoot/icon-attr-fix branch November 2, 2019 16:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants