Merge branch 'master' into production

This commit is contained in:
Michael Schmatz 2014-12-17 21:59:43 -05:00
commit f5d9550d60

View file

@ -13,7 +13,7 @@ AchievablePlugin = (schema, options) ->
Achievement = require '../achievements/Achievement' Achievement = require '../achievements/Achievement'
before = {} before = {}
return
# Keep track the document before it's saved # Keep track the document before it's saved
schema.post 'init', (doc) -> schema.post 'init', (doc) ->
before[doc.id] = doc.toObject() before[doc.id] = doc.toObject()