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

Added new filters to web-bluetooth device-info #248

Merged

Conversation

beaufortfrancois
Copy link
Member

@jeffposnick
Copy link
Contributor

👍 from a code perspective. Unless @g-ortuno has any feedback from the API perspective, feel free to merge.


let filterName = document.getElementById('name').value;
if (filterName) {
options.filters.push({name: name});
Copy link

Choose a reason for hiding this comment

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

Shouldn't this be:

{name: filterName}

?

@g-ortuno
Copy link

g-ortuno commented Nov 9, 2015

One small comment. Otherwise lgtm

@beaufortfrancois
Copy link
Member Author

@g-ortuno Can you just simply look at me and slap me please in the face? Thank you!

beaufortfrancois added a commit that referenced this pull request Nov 9, 2015
Added new filters to web-bluetooth device-info
@beaufortfrancois beaufortfrancois merged commit d3e64f7 into GoogleChrome:gh-pages Nov 9, 2015
@beaufortfrancois beaufortfrancois deleted the requestDeviceName branch November 9, 2015 19:24
@g-ortuno
Copy link

g-ortuno commented Nov 9, 2015

:) does name filtering work now?

@beaufortfrancois
Copy link
Member Author

It does ;)

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.

3 participants