pouchdb/pouchdb — pull request #2516 by nolanlawson (2014-07-23 01:00:53+00:00)
Title: (#2515) - 'change' event fires even if checkpointer fails

Couldn't think of a test to reproduce this. Hopefully the fix is obvious enough.