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

(#170) Move to pouchdb-utils #177

Merged
merged 4 commits into from
Nov 14, 2017

Conversation

ptitjes
Copy link
Collaborator

@ptitjes ptitjes commented Nov 14, 2017

This PR supersedes #171 (again...).

I finally let down the commit about __interopDefault as it has more to do with #176 than this PR.

This PR moves current code to use the toPromise provided by pouchdb-utils.
It also makes some clean in the other utility functions to also make use of pouchdb-utils.

This also removes useless returns in three of the API methods as they
were used to call callback in the end. Those would break with PouchDB's
toPromise as it would enforce fulfilling them.
@ptitjes
Copy link
Collaborator Author

ptitjes commented Nov 14, 2017

As @nolanlawson acknowledged that part in his review of the previous PR (cf. #171), I will merge it.

@ptitjes ptitjes changed the title 170 move to pouchdb utils (#170) Move to pouchdb-utils Nov 14, 2017
@ptitjes ptitjes merged commit 3e6ce19 into pouchdb-community:master Nov 14, 2017
@ptitjes ptitjes deleted the 170-move-to-pouchdb-utils branch November 14, 2017 04:33
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.

None yet

1 participant