<commit_before>"use strict";

angular.module('arethusa.core').directive('navbarButtons', function() {
  return {
    restrict: 'A',
    replace: true,
    link: function(scope, element, attrs) {
      scope.$watch('windowWidth', function(newVal, oldVal) {
        var coll = newVal > 780 ? '' : '_collapsed';
        scope.bTemplate = 'templates/arethusa.core/navbar_buttons' + coll + '.html';
      });
    },
    template: '<ul class="has-form button-group right" ng-include="bTemplate"/>'
  };
});<commit_msg>Collapse buttons a little sooner<commit_after>"use strict";

angular.module('arethusa.core').directive('navbarButtons', function() {
  return {
    restrict: 'A',
    replace: true,
    link: function(scope, element, attrs) {
      scope.$watch('windowWidth', function(newVal, oldVal) {
        var coll = newVal > 800 ? '' : '_collapsed';
        scope.bTemplate = 'templates/arethusa.core/navbar_buttons' + coll + '.html';
      });
    },
    template: '<ul class="has-form button-group right" ng-include="bTemplate"/>'
  };
});
{'fraction_non_alphanumeric': 0.1725790987535954, 'fraction_numerical': 0.005752636625119847, 'mean_word_length': 3.558951965065502, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, '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': '1454134', 'n_tokens_mistral': 330, 'n_tokens_neox': 321, 'n_words': 66}