We use it in Ruby, and it will make it easier to change all quotes to double quotes in CoffeeScript files.
5 lines
120 B
CoffeeScript
5 lines
120 B
CoffeeScript
App.Flaggable =
|
|
|
|
update: (resource_id, button) ->
|
|
$("##{resource_id} .js-flag-actions").html(button).foundation()
|