Use double quotes in CoffeeScript files

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.
This commit is contained in:
Javi Martín
2019-03-04 15:32:41 +01:00
parent 9e80c75032
commit b27855c1cf
44 changed files with 360 additions and 360 deletions

View File

@@ -1,10 +1,10 @@
App.CheckboxToggle =
initialize: ->
$('[data-checkbox-toggle]').on 'change', ->
$("[data-checkbox-toggle]").on "change", ->
$this = $(this)
$target = $($this.data('checkbox-toggle'))
if $this.is(':checked')
$target = $($this.data("checkbox-toggle"))
if $this.is(":checked")
$target.show()
else
$target.hide()