Remove trailing newlines in CoffeeScript files

This commit is contained in:
Javi Martín
2019-03-04 13:48:54 +01:00
parent af9dce1dcf
commit a03c68c1e5
10 changed files with 4 additions and 15 deletions

View File

@@ -8,6 +8,3 @@ App.CheckAllNone =
$('[data-check-none]').on 'click', ->
target_name = $(this).data('check-none')
$("[name='" + target_name + "']").prop('checked', false)

View File

@@ -8,5 +8,3 @@ App.CheckboxToggle =
$target.show()
else
$target.hide()

View File

@@ -3,6 +3,3 @@ App.LocationChanger =
initialize: ->
$('.js-location-changer').on 'change', ->
window.location.assign($(this).val())

View File

@@ -41,4 +41,3 @@ App.Polls =
$(answer).removeClass("answer-divider")
unless $(answer).hasClass('first')
$(answer).insertAfter($(answer).next('div.answer'))

View File

@@ -20,4 +20,3 @@ App.TableSortable =
table.append rows[i]
i++
return

View File

@@ -34,4 +34,3 @@ App.TreeNavigator =
link.parents('ul').each ->
$(this).show()
$(this).siblings('span').removeClass('closed').addClass('open')