<commit_before>((root, factory) ->
  if typeof define is "function" and define.amd

    # AMD. Register as an anonymous module.
    define ['backbone', 'underscore'], (Backbone, _) ->
        return factory(root, Backbone, _)
    console.log 'amd'

  else if typeof exports is "object"
    Backbone = require 'backbone'
    _ = require 'underscore'
    # Node. Does not work with strict CommonJS, but
    # only CommonJS-like environments that support module.exports,
    # like Node.
    console.log 'commonjs'
    module.exports = factory(root, Backbone, _)
  else

    console.log 'global'
    # Browser globals (root is window)
    root.Vigor = factory(root, root.Backbone, root._)
  return

) @, (root, Backbone, _) ->

  previousVigor = root.Vigor
  Vigor = Backbone.Vigor = {}
  Vigor.helpers = {}
  Vigor.settings = {}

  Vigor.noConflict = ->
    root.Vigor = previousVigor

  Vigor.extend = Backbone.Model.extend

  #= include ./setup.coffee

  # HELPERS
  #= include ./helpers/validateContract.coffee

  # COMMON
  #= include ./common/EventBus.coffee
  #= include ./common/PackageBase.coffee
  #= include ./common/SubscriptionKeys.coffee
  #= include ./common/EventKeys.coffee

  # DATACOMMUNICATION/PRODUCERS
  #= include ./datacommunication/producers/Producer.coffee
  #= include ./datacommunication/producers/IdProducer.coffee
  #= include ./datacommunication/producers/ProducerMapper.coffee
  #= include ./datacommunication/producers/ProducerManager.coffee

  # DATACOMMUNICATION/APISERVICES
  #= include ./datacommunication/apiservices/APIService.coffee

  # DATACOMMUNICATION
  #= include ./datacommunication/ComponentIdentifier.coffee
  #= include ./datacommunication/DataCommunicationManager.coffee

  #= include ./common/ComponentView.coffee
  #= include ./common/ViewModel.coffee

  # REPOSITORIES
  #= include ./datacommunication/repositories/Repository.coffee
  #= include ./datacommunication/repositories/ServiceRepository.coffee

  return Vigor
<commit_msg>Removed console log for loading of vigor.<commit_after>((root, factory) ->
  if typeof define is "function" and define.amd

    # AMD. Register as an anonymous module.
    define ['backbone', 'underscore'], (Backbone, _) ->
        return factory(root, Backbone, _)

  else if typeof exports is "object"
    Backbone = require 'backbone'
    _ = require 'underscore'
    # Node. Does not work with strict CommonJS, but
    # only CommonJS-like environments that support module.exports,
    # like Node.
    module.exports = factory(root, Backbone, _)
  else

    # Browser globals (root is window)
    root.Vigor = factory(root, root.Backbone, root._)
  return

) @, (root, Backbone, _) ->

  previousVigor = root.Vigor
  Vigor = Backbone.Vigor = {}
  Vigor.helpers = {}
  Vigor.settings = {}

  Vigor.noConflict = ->
    root.Vigor = previousVigor

  Vigor.extend = Backbone.Model.extend

  #= include ./setup.coffee

  # HELPERS
  #= include ./helpers/validateContract.coffee

  # COMMON
  #= include ./common/EventBus.coffee
  #= include ./common/PackageBase.coffee
  #= include ./common/SubscriptionKeys.coffee
  #= include ./common/EventKeys.coffee

  # DATACOMMUNICATION/PRODUCERS
  #= include ./datacommunication/producers/Producer.coffee
  #= include ./datacommunication/producers/IdProducer.coffee
  #= include ./datacommunication/producers/ProducerMapper.coffee
  #= include ./datacommunication/producers/ProducerManager.coffee

  # DATACOMMUNICATION/APISERVICES
  #= include ./datacommunication/apiservices/APIService.coffee

  # DATACOMMUNICATION
  #= include ./datacommunication/ComponentIdentifier.coffee
  #= include ./datacommunication/DataCommunicationManager.coffee

  #= include ./common/ComponentView.coffee
  #= include ./common/ViewModel.coffee

  # REPOSITORIES
  #= include ./datacommunication/repositories/Repository.coffee
  #= include ./datacommunication/repositories/ServiceRepository.coffee

  return Vigor

{'fraction_non_alphanumeric': 0.11281265952016335, 'fraction_numerical': 0.0, 'mean_word_length': 3.6378698224852073, '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': '6919342', 'n_tokens_mistral': 1354, 'n_tokens_neox': 1281, 'n_words': 248}