Remove trailing newlines in CoffeeScript files
This commit is contained in:
@@ -8,6 +8,3 @@ App.CheckAllNone =
|
||||
$('[data-check-none]').on 'click', ->
|
||||
target_name = $(this).data('check-none')
|
||||
$("[name='" + target_name + "']").prop('checked', false)
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -8,5 +8,3 @@ App.CheckboxToggle =
|
||||
$target.show()
|
||||
else
|
||||
$target.hide()
|
||||
|
||||
|
||||
|
||||
@@ -3,6 +3,3 @@ App.LocationChanger =
|
||||
initialize: ->
|
||||
$('.js-location-changer').on 'change', ->
|
||||
window.location.assign($(this).val())
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -41,4 +41,3 @@ App.Polls =
|
||||
$(answer).removeClass("answer-divider")
|
||||
unless $(answer).hasClass('first')
|
||||
$(answer).insertAfter($(answer).next('div.answer'))
|
||||
|
||||
|
||||
@@ -20,4 +20,3 @@ App.TableSortable =
|
||||
table.append rows[i]
|
||||
i++
|
||||
return
|
||||
|
||||
@@ -34,4 +34,3 @@ App.TreeNavigator =
|
||||
link.parents('ul').each ->
|
||||
$(this).show()
|
||||
$(this).siblings('span').removeClass('closed').addClass('open')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user