<commit_before>define([
  'angular'
], function(
  angular
) {
  'use strict';
  var $ = angular.element;
  var $bdy = $('body');

  function navsOpen() {
    return $bdy.hasClass('filters-column-open') ||
           $bdy.hasClass('list-column-open');
  }

  function isNavChild(el) {
    return $(el).parents('.task-filters, .task-list').length > 0;
  }


  $bdy.click(function(evt) {
    if (navsOpen() &&
        !isNavChild(evt.target) &&
        !evt.isDefaultPrevented()) {
      $bdy.removeClass('filters-column-open list-column-open');
    }
  });


  return [
    '$scope',
  function(
    $scope
  ) {<commit_msg>impr(layout): only the toggler should trigger collapse / expand<commit_after>define([
  'angular'
], function(
  angular
) {
  'use strict';
  var $ = angular.element;
  var $bdy = $('body');

  return [
    '$scope',
  function(
    $scope
  ) {
{'fraction_non_alphanumeric': 0.1806674338319908, 'fraction_numerical': 0.0011507479861910242, 'mean_word_length': 2.8839285714285716, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, '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': '2892045', 'n_tokens_mistral': 314, 'n_tokens_neox': 308, 'n_words': 55}