-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Add explicit imports across files inside of polymer #4666
Conversation
lib/utils/style-gather.html
Outdated
@@ -8,6 +8,7 @@ | |||
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt | |||
--> | |||
<link rel="import" href="resolve-url.html"> | |||
<link rel="import" href="../elements/dom-module.html"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This file shouldn't have an import of dom-module. The check below is to see if it's loaded and use it if so, but there are some uses of style-gather that don't necessitate loading dom-module, like custom-style.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agreed, removing
@justinfagnani @sorvell PTAL, PR is now a single line |
LGTM from my end |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks!
This PR adds back missing imports. These explicit references are needed for some automated tooling.
/cc @justinfagnani