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