Strict mode is supported by 98% of the browsers, including Internet Explorer 10, and it helps developers avoid common JavaScript pitfalls.
11 lines
229 B
CoffeeScript
11 lines
229 B
CoffeeScript
"use strict"
|
|
|
|
App.ModeratorDebates =
|
|
|
|
add_class_faded: (id) ->
|
|
$("##{id}").addClass("faded")
|
|
$("#comments").addClass("faded")
|
|
|
|
hide_moderator_actions: (id) ->
|
|
$("##{id} .js-moderator-debate-actions:first").hide()
|