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