jamescarr/mongoosastic — pull request #75 by nadeeshacabral (2013-11-30 16:05:45+00:00)
Title: Keeping virtual properties out of the mapping

When virtual properties are injected to the mapping, serialize.js throws an error: `Cannot read property 'getters' of undefined`

This fix keeps virtual properties out of the cleantree.

Without this fix, any schema indexed with non-indexed virtual properties will throw an exception while being indexed.