<commit_before>$              = require 'jquery'
SplitView      = require '../utils/split-view'
StatusListElement = require './status-list-view'
DiffView       = require './diff-view'
Changes        = require './changes'
observe        = require '../observe'

class ChangesElement extends SplitView
  # This is the root view for view-and-commit-changes.
  initialize: ({@uri, width}) ->
    @model ?= new Changes
    @statusListElement = new StatusListElement
    @diffView = new DiffView

    # The children maintain a reference to the root view
    @statusListElement.initialize(changesView: @)
    @diffView.initialize(changesView: @)

    @width(width) if width > 0<commit_msg>Remove unused jQuery<commit_after>SplitView      = require '../utils/split-view'
StatusListElement = require './status-list-view'
DiffView       = require './diff-view'
Changes        = require './changes'
observe        = require '../observe'

class ChangesElement extends SplitView
  # This is the root view for view-and-commit-changes.
  initialize: ({@uri, width}) ->
    @model ?= new Changes
    @statusListElement = new StatusListElement
    @diffView = new DiffView

    # The children maintain a reference to the root view
    @statusListElement.initialize(changesView: @)
    @diffView.initialize(changesView: @)

    @width(width) if width > 0
{'fraction_non_alphanumeric': 0.11235955056179775, 'fraction_numerical': 0.00149812734082397, 'mean_word_length': 3.175, 'pattern_counts': {'":': 0, '<': 3, '<?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': '4313268', 'n_tokens_mistral': 371, 'n_tokens_neox': 361, 'n_words': 110}