Fixed wrong migrations

This commit is contained in:
Shrihari 2014-03-24 21:37:09 +05:30
parent 5845125b43
commit 69ee16f77f
3 changed files with 3 additions and 2 deletions

View file

@ -88,6 +88,7 @@ module.exports = class ThangTypeHomeView extends View
removeOldSearch: ->
return unless @collection?
@collection.off()
@collection = null
makeNewModel: (e) ->

View file

@ -49,7 +49,7 @@ module.exports = class PlaybackView extends View
super()
@hookUpScrubber()
@updateMusicButton()
@listenTo($(window), 'resize', @onWindowResize)
$(window).on('resize', @onWindowResize)
# callbacks

View file

@ -82,7 +82,7 @@ module.exports = class PlayLevelView extends View
@isEditorPreview = @getQueryVariable 'dev'
@sessionID = @getQueryVariable 'session'
@listenTo($(window), 'resize', @onWindowResize)
$(window).on('resize', @onWindowResize)
@listenToOnce(@supermodel, 'error', @onLevelLoadError)
@saveScreenshot = _.throttle @saveScreenshot, 30000