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

Update README.md #21

Merged
merged 1 commit into from
Aug 21, 2016
Merged

Update README.md #21

merged 1 commit into from
Aug 21, 2016

Conversation

curioussavage
Copy link
Contributor

@curioussavage curioussavage commented Aug 7, 2016

Use 'discoverById' in the usage example for clarity.

@sandeepmistry

hello! awesome library btw (this and noble)

I think this change makes it easier to get started. Lazy people like me who don't read the whole readme could be confused by the usage example. Its not obvious that discover calls the callback for only the first device detected. If I were to just copy this and try it out now It could find my phone first instead of my target device, which could cause more confusion.

Also YourThing and yourThing can look the same when you don't look closely. This makes it impossible not to understand it is the instance of YourThing.

Use 'discoverById' and other changes for clarity
@sandeepmistry sandeepmistry merged commit 0c7cb6a into noble:master Aug 21, 2016
@sandeepmistry
Copy link
Collaborator

@curioussavage thank you :)

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