<commit_before>var $ = require('jquery-browserify');
var _ = require('underscore');
var Backbone = require('backbone');
var FileView = require('./li/file');

module.exports = Backbone.View.extend({
  subviews: [],

  initialize: function(options) {
    this.repo = options.repo;
    this.search = options.search;
    this.branches = options.branches;
    this.branch = options.branch || this.repo.get('master_branch');
    this.path = options.path || '';
    this.subviews = [];

    this.listenTo(this.branches, 'sync', this.setModel, this);
  },

  setModel: function() {
    this.model = this.branches.findWhere({ name: this.branch }).files;
    this.search.model = this.model;

    this.listenTo(this.model, 'sync', this.render, this);
    this.listenTo(this.search, 'search', this.render, this);

    this.model.fetch();
  },

  render: function() {
    console.log(this.branch);
<commit_msg>removing console.log<commit_after>var $ = require('jquery-browserify');
var _ = require('underscore');
var Backbone = require('backbone');
var FileView = require('./li/file');

module.exports = Backbone.View.extend({
  subviews: [],

  initialize: function(options) {
    this.repo = options.repo;
    this.search = options.search;
    this.branches = options.branches;
    this.branch = options.branch || this.repo.get('master_branch');
    this.path = options.path || '';
    this.subviews = [];

    this.listenTo(this.branches, 'sync', this.setModel, this);
  },

  setModel: function() {
    this.model = this.branches.findWhere({ name: this.branch }).files;
    this.search.model = this.model;

    this.listenTo(this.model, 'sync', this.render, this);
    this.listenTo(this.search, 'search', this.render, this);

    this.model.fetch();
  },

  render: function() {
{'fraction_non_alphanumeric': 0.17288135593220338, 'fraction_numerical': 0.0, 'mean_word_length': 3.74798927613941, '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': '3260368', 'n_tokens_mistral': 574, 'n_tokens_neox': 559, 'n_words': 104}