daleharvey/pouchdb — pull request #1592 by ig3 (2014-03-06 22:01:44+00:00)
Title: (#1591) - handle undefined promise.cancel

The original promise (from Promise in utils.toPromise) may not have a cancel method, which is OK.