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