<commit_before>'use strict'

angular.module("ngFillHeight.directives")
  .directive 'ngFillHeight', ($parse, $log) ->

    ngFillHeightLink = (scope, element, attrs) ->
      ngFillHeightOption                 = scope.ngFillHeight
      ngFillHeightOption.minHeight       = ngFillHeightOption.minHeight or 0
      ngFillHeightOption.maxCallNumber or= 10000

      if typeof ngFillHeightOption isnt 'object'
        console.error 'The value of ngFillHeight has to be an Object'
        return

      parentObject = angular.element(ngFillHeightOption.parentSelector)
      currObject   =  angular.element(element)
      timesCalled  = 0

      ngFillHeightOption.api =
        recalcHeight : () ->

          recurrFunc = (increment) ->
            currObject.height(currObject.height() + increment)
            timesCalled++<commit_msg>changing from console to $log<commit_after>'use strict'

angular.module("ngFillHeight.directives")
  .directive 'ngFillHeight', ($parse, $log) ->

    ngFillHeightLink = (scope, element, attrs) ->
      ngFillHeightOption                 = scope.ngFillHeight
      ngFillHeightOption.minHeight       = ngFillHeightOption.minHeight or 0
      ngFillHeightOption.maxCallNumber or= 10000

      if typeof ngFillHeightOption isnt 'object'
        $log.error 'The value of ngFillHeight has to be an Object'
        return

      parentObject = angular.element(ngFillHeightOption.parentSelector)
      currObject   =  angular.element(element)
      timesCalled  = 0

      ngFillHeightOption.api =
        recalcHeight : () ->

          recurrFunc = (increment) ->
            currObject.height(currObject.height() + increment)
            timesCalled++
{'fraction_non_alphanumeric': 0.08674985145573381, 'fraction_numerical': 0.008318478906714201, 'mean_word_length': 2.7010989010989013, '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': '956101', 'n_tokens_mistral': 475, 'n_tokens_neox': 454, 'n_words': 101}