descartes1/Kanso-CRUD — pull request #4 by lvivier (2012-05-07 08:17:17+00:00)
Title: Use current database

I've been using Kanso-CRUD to learn more about Kanso and Couchapps, and I came across #3. Attempt to remove a phrase by clicking "Delete", and Chrome throws

TypeError: Object [object Object] has no method 'removeDoc'

The [db docs](http://kan.so/packages/details/db/0.1.0) sez `removeDoc()` is an instance method of DB objects and not a method on the module. I've added `db = db.current()` to get a DB obj so `delphrase()` will work as expected.