<commit_before>EmberCart.MiniCartBar = Ember.View.extend
  tagName: 'div'
  classNames: ['ec-mini-cart-bar']

  templateName: 'ember_cart/templates/carts/mini_cart_bar'

  cartsBinding: 'EmberCart.cartsController.content'
  cartItemsCountBinding: 'EmberCart.cartsController.cartItemsCount'

  isCartsHidden: true

  mouseEnter: ->
    @set('isCartsHidden', false)

  mouseLeave: ->
    @set('isCartsHidden', true)
<commit_msg>Created an event manager<commit_after>EmberCart.MiniCartBar = Ember.View.extend
  tagName: 'div'
  classNames: ['ec-mini-cart-bar']

  templateName: 'ember_cart/templates/carts/mini_cart_bar'

  cartsBinding: 'EmberCart.cartsController.content'
  cartItemsCountBinding: 'EmberCart.cartsController.cartItemsCount'

  isCartsHidden: true

  eventManager: Ember.Object.create
    mouseEnter: ->
      @set('isCartsHidden', false)

    mouseLeave: ->
      @set('isCartsHidden', true)

{'fraction_non_alphanumeric': 0.12017640573318633, 'fraction_numerical': 0.0, 'mean_word_length': 4.973684210526316, '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': '2562121', 'n_tokens_mistral': 325, 'n_tokens_neox': 310, 'n_words': 45}