mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-12-01 03:16:56 -05:00
Merge branch 'master' into production
This commit is contained in:
commit
f5d9550d60
1 changed files with 1 additions and 1 deletions
|
@ -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()
|
||||||
|
|
Loading…
Reference in a new issue