<commit_before>define [
  "common/has_parent",
  "common/continuum_view",
  "common/build_views"
  "backbone"
], (HasParent, continuum_view, build_views, Backbone) ->
  ContinuumView = continuum_view.View
  class VBoxView extends ContinuumView
    tag : "div"
    attributes:
      class : "bk-vbox"
    initialize : (options) ->
      super(options)
      @views = {}
      @render()
      @listenTo(@model, 'change', @render)
    render: () ->
      children = @mget_obj('children')
      build_views(@views, children)
      for own key, val of @views
        val.$el.detach()
      @$el.html('')
      for child in children
        @$el.append(@views[child.id].$el)

  class VBox extends HasParent
    type : "VBox"
    default_view : VBoxView
    defaults : () ->
      return {'children' : []}
  class VBoxes extends Backbone.Collection
    model : VBox
  vboxes = new VBoxes()
  return {
    "Model" : VBox
    "Collection" : vboxes
  }<commit_msg>forgot to export View in vbox.coffee<commit_after>define [
  "common/has_parent",
  "common/continuum_view",
  "common/build_views"
  "backbone"
], (HasParent, continuum_view, build_views, Backbone) ->
  ContinuumView = continuum_view.View
  class VBoxView extends ContinuumView
    tag : "div"
    attributes:
      class : "bk-vbox"
    initialize : (options) ->
      super(options)
      @views = {}
      @render()
      @listenTo(@model, 'change', @render)
    render: () ->
      children = @mget_obj('children')
      build_views(@views, children)
      for own key, val of @views
        val.$el.detach()
      @$el.html('')
      for child in children
        @$el.append(@views[child.id].$el)

  class VBox extends HasParent
    type : "VBox"
    default_view : VBoxView
    defaults : () ->
      return {'children' : []}
  class VBoxes extends Backbone.Collection
    model : VBox
  vboxes = new VBoxes()
  return {
    "Model" : VBox
    "Collection" : vboxes
    "View" : VBoxView
  }
{'fraction_non_alphanumeric': 0.13312852022529442, 'fraction_numerical': 0.0, 'mean_word_length': 2.7007575757575757, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 11, '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': '1542542', 'n_tokens_mistral': 653, 'n_tokens_neox': 642, 'n_words': 149}