As we do in the rest of the application. Note we cannot add a rule enforcing double quotes because CoffeeScript Lint does not have such rule.
5 lines
127 B
CoffeeScript
5 lines
127 B
CoffeeScript
App.SendNewsletterAlert =
|
|
initialize: ->
|
|
$("#js-send-newsletter-alert").on "click", ->
|
|
confirm(this.dataset.alert)
|