Github user garrensmith commented on the pull request:
https://github.com/apache/couchdb-fauxton/pull/150#issuecomment-63307280
@robertkowalski I don't think we should solve this issue using async. Async
is used when callbacks are the default way of working with asynchronous
functions. In Fauxton we use promises to handle asynchronous functions.
To solve this using promises you can have the removeDocument return a
promise (`$.Deferred()`) which gets resolved once the fadeout has occurred.
Then use `$.when` for a final callback once everything is complete.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---