hoodiehq/hoodie-plugins-api — pull request #41 by lupomontero (2014-08-20 15:39:46+00:00)
Title: refactor(database): removed unnecessary/redundant code

A bit of housekeeping... After reviewing my previous [PR](https://github.com/hoodiehq/hoodie-plugins-api/pull/40) I realised we do not need to initialise `ddoc.views[name]` as an empty object in `db.addIndex()` as we assign directly to it and not its members.

cc/ @svnlto