mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-04-27 06:23:41 -04:00
Migrate .on, .once - Fixed a small error
This commit is contained in:
parent
67f5270bfc
commit
5845125b43
1 changed files with 1 additions and 1 deletions
|
@ -58,7 +58,7 @@ init = ->
|
|||
storage.save(CURRENT_USER_KEY, me.attributes)
|
||||
|
||||
me.loadGravatarProfile() if me.get('email')
|
||||
@listenTo(me, 'sync', userSynced)
|
||||
Backbone.listenTo(me, 'sync', userSynced)
|
||||
|
||||
userSynced = (user) ->
|
||||
Backbone.Mediator.publish('me:synced', {me:user})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue