mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-29 18:45:48 -05:00
Merge branch 'master' into production
This commit is contained in:
commit
b84b86c6b5
2 changed files with 4 additions and 3 deletions
|
@ -5,7 +5,7 @@ app = require('application')
|
||||||
|
|
||||||
class SearchCollection extends Backbone.Collection
|
class SearchCollection extends Backbone.Collection
|
||||||
initialize: (modelURL, @model, @term) ->
|
initialize: (modelURL, @model, @term) ->
|
||||||
@url = "#{modelURL}/search?project=yes"
|
@url = "#{modelURL}/search?project=true"
|
||||||
@url += "&term=#{term}" if @term
|
@url += "&term=#{term}" if @term
|
||||||
|
|
||||||
module.exports = class ThangTypeHomeView extends View
|
module.exports = class ThangTypeHomeView extends View
|
||||||
|
|
|
@ -24,7 +24,8 @@ module.exports = class ProblemAlertView extends View
|
||||||
|
|
||||||
afterRender: ->
|
afterRender: ->
|
||||||
super()
|
super()
|
||||||
@$el.addClass('alert').addClass("alert-#{@problem.aetherProblem.level}")
|
@$el.addClass('alert').addClass("alert-#{@problem.aetherProblem.level}").hide().fadeIn('slow')
|
||||||
|
Backbone.Mediator.publish 'play-sound', trigger: 'error_appear', volume: 1.0
|
||||||
|
|
||||||
onRemoveClicked: ->
|
onRemoveClicked: ->
|
||||||
@$el.remove()
|
@$el.remove()
|
||||||
|
|
Loading…
Reference in a new issue