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

[mdl-ripple] Update to mixin pattern and some cleanup. #4551

Merged
merged 1 commit into from
Jul 14, 2016
Merged

[mdl-ripple] Update to mixin pattern and some cleanup. #4551

merged 1 commit into from
Jul 14, 2016

Conversation

rfru
Copy link

@rfru rfru commented Jul 12, 2016

@rfru rfru added this to the V2 Alpha milestone Jul 12, 2016
var component = global.mdl.Ripple.attachTo(surface, rippleDom);
var button = surface.parentNode.querySelector('button');
button.addEventListener('click', function() {
var rect = surface.getBoundingClientRect();
Copy link
Collaborator

Choose a reason for hiding this comment

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

Why change down to var from let here?

Copy link
Contributor

Choose a reason for hiding this comment

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

@Garbee This is a script tag embedded in a demo HTML page so ES2015 preprocessing doesn't work.

@rfru
Copy link
Author

rfru commented Jul 13, 2016

Updates made, PTAL.

@traviskaufman
Copy link
Contributor

💎 👍 LGTM

@traviskaufman traviskaufman merged commit 87495e3 into google:master Jul 14, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants