-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
chore(dialog): Remove ripple layout & layoutFooterRipples adapter API #2570
Conversation
Unbounded still needs layout called immediately to compute its position.
Ripple now calls layout upon activation. The layoutFooterRipples adapter API is no longer used and can be removed.
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.
Remove unused variable. Otherwise LGTM
const stubbedLayout = td.func('MDCRipple#layout'); | ||
|
||
before(() => { | ||
MDCRipple.prototype.layout = stubbedLayout; |
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.
Remove import of MDCRipple
24:9 error 'MDCRipple' is defined but never used. Allowed unused vars must match /^(?:(?:MDC(?:(?:[A-Z][a-z0-9]+)+)Adapter)|(?:(?:(?:[A-Z][a-z0-9]+)+)Type))$/ no-unused-vars
Codecov Report
@@ Coverage Diff @@
## master #2570 +/- ##
=========================================
Coverage ? 98.76%
=========================================
Files ? 98
Lines ? 4195
Branches ? 535
=========================================
Hits ? 4143
Misses ? 52
Partials ? 0
Continue to review full report at Codecov.
|
Ripple now calls layout upon activation.
The layoutFooterRipples adapter API is no longer used and can be removed.
Requires #2567 (which this PR is based on).