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

Props to disable interactivity #988

Merged
merged 4 commits into from
Aug 16, 2018
Merged

Conversation

compulim
Copy link
Contributor

Fix for #986.

Copy link
Contributor

@tonyanziano tonyanziano left a comment

Choose a reason for hiding this comment

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

Looks good! 👍

const hyperlinks = renderedCard.querySelectorAll('a');
const inputs = renderedCard.querySelectorAll('button, input, select, textarea');

[].forEach.call(inputs, (input: HTMLInputElement) => {
Copy link
Contributor

Choose a reason for hiding this comment

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

For consistency's sake:

on line 203 you use the convention Array.prototype.forEach.call(), but here you use [].forEach.call()

It would be nice to stick to one convention / pattern

@compulim compulim added this to the 0.14.2 milestone Aug 16, 2018
@compulim compulim self-assigned this Aug 16, 2018
@compulim compulim merged commit 665fb67 into microsoft:master Aug 16, 2018
@compulim compulim deleted the feat-interactive branch August 16, 2018 22:58
@compulim compulim mentioned this pull request Aug 16, 2018
5 tasks
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.

2 participants