<commit_before>(function(config, models, views, routers, utils, templates) {

views.Posts = Backbone.View.extend({
  events: {
    'change #repository_paths': '_switchPath',
  },

  initialize: function(options) {

  },

  _switchPath: function(e) {
    router.navigate(app.username + '/' + app.state.repo + '/' + app.state.branch + '/' + $(e.currentTarget).val(), true);
    return false;
  },

  // Creates human readable versions of _posts/paths
  semantifyPaths: function(paths) {
    return _.map(paths, function(path) {<commit_msg>Loading indicator for loading files and folders.<commit_after>(function(config, models, views, routers, utils, templates) {

views.Posts = Backbone.View.extend({
  events: {
    'click a.link': '_loading'
  },

  initialize: function(options) {

  },

  _loading: function(e) {
    $(e.currentTarget).addClass('loading'));
  },

  // Creates human readable versions of _posts/paths
  semantifyPaths: function(paths) {
    return _.map(paths, function(path) {
{'fraction_non_alphanumeric': 0.1527638190954774, 'fraction_numerical': 0.0, 'mean_word_length': 4.055837563451776, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '5490106', 'n_tokens_mistral': 318, 'n_tokens_neox': 306, 'n_words': 68}