<commit_before>jQuery ->
  $('#todo-items, #doing-items, #done-items').sortable({
    connectWith: '.sortable-board',
    receive: (event, ui) ->
      pin_id = ui.item.data('id')
      status = $(this).attr('data-status')
      $.post('/pins/'+pin_id, { "_method": "PUT", pin: { status: status }})
  }).disableSelection()
  $('[data-toggle="modal"]').click(() ->
    $modal = $($(this).attr('href'))
    console.log($modal)
    $modal.on('show', () -> $('html').css('overflow', 'hidden'))
    $modal.on('hide', () -> $('html').css('overflow', 'scroll'))
  )<commit_msg>added some js to resize library boards to match largest one; fixes #13<commit_after>jQuery ->
  $('#todo-items, #doing-items, #done-items').sortable({
    connectWith: '.sortable-board',
    receive: (event, ui) ->
      pin_id = ui.item.data('id')
      status = $(this).attr('data-status')
      $.post('/pins/'+pin_id, { "_method": "PUT", pin: { status: status }})
  }).disableSelection()
  $('[data-toggle="modal"]').click(() ->
    $modal = $($(this).attr('href'))
    console.log($modal)
    $modal.on('show', () -> $('html').css('overflow', 'hidden'))
    $modal.on('hide', () -> $('html').css('overflow', 'scroll'))
  )
 


$(window).load(() ->
  max_height = 0
  $('#todo-items, #doing-items, #done-items').each(() ->
    if $(this).height() > max_height
      max_height = $(this).height()
    console.log($(this).height())
  )
  $('#todo-items, #doing-items, #done-items').each(() ->
    console.log(max_height)
    $(this).css('min-height', max_height)
  )
) 
{'fraction_non_alphanumeric': 0.2654120700843608, 'fraction_numerical': 0.001946787800129786, 'mean_word_length': 3.5892857142857144, 'pattern_counts': {'":': 2, '<': 3, '<?xml version=': 0, '>': 17, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6873733', 'n_tokens_mistral': 545, 'n_tokens_neox': 529, 'n_words': 90}