<commit_before>'use strict';

# Reference jQuery
$ = jQuery

# Adds plugin object to jQuery
$.fn.extend

  # Change pluginName to your plugin's name.
  animateCSS: (effect, options) ->
    # Default settings
    settings =
      effect: effect
      delay: 0
      animationClass: "animated",
      infinite: false
      callback: options
      debug: false

    # Vendor prefixed transition callbacks
    transitionEnd = "webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend"

    # Merge default settings with options.
    settings = $.extend settings, options

    init = ( element ) ->
      animate( element )
      unhide( element )
      complete( element )

    # Add the animation effect with classes
    animate = ( element ) ->
      if settings.infinite == true
        settings.animationClass += " infinite"

      # Run a timer regardless of delay as 0 will fire instantly anyway
      setTimeout  ->
        addClass( element )
      , settings.delay

    addClass = ( element ) ->
      element.addClass( settings.effect + " " + settings.animationClass + " ")

    # Check if the element has been hidden to start with
    unhide = ( element ) ->
      element.css("visibility", "visible") if element.css( "visibility" ) == "hidden"
      element.show() if element.is(":hidden")

    # Remove the animation classes the were applied
    removeClass = ( element ) ->
      element.removeClass( settings.effect + " " + settings.animationClass )

    callback = ( element ) ->
      removeClass( element ) if settings.infinite == false
      if typeof settings.callback == "function"
        settings.callback.call(this)

    # Event triggered when the animation has finished
    complete = ( element ) ->
      element.one( transitionEnd, ->
        callback( element )
      )

    return @each () ->

      init( $(this) );<commit_msg>chore: remove effect from list of plugin options<commit_after>'use strict';

# Reference jQuery
$ = jQuery

# Adds plugin object to jQuery
$.fn.extend

  # Change pluginName to your plugin's name.
  animateCSS: (effect, options) ->
    # Default settings
    settings =
      delay: 0
      animationClass: "animated",
      infinite: false
      callback: options
      debug: false

    # Vendor prefixed transition callbacks
    transitionEnd = "webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend"

    # Merge default settings with options.
    settings = $.extend settings, options

    init = ( element ) ->
      animate( element )
      unhide( element )
      complete( element )

    # Add the animation effect with classes
    animate = ( element ) ->
      if settings.infinite == true
        settings.animationClass += " infinite"

      # Run a timer regardless of delay as 0 will fire instantly anyway
      setTimeout  ->
        addClass( element )
      , settings.delay

    addClass = ( element ) ->
      element.addClass( effect + " " + settings.animationClass + " ")

    # Check if the element has been hidden to start with
    unhide = ( element ) ->
      element.css("visibility", "visible") if element.css( "visibility" ) == "hidden"
      element.show() if element.is(":hidden")

    # Remove the animation classes the were applied
    removeClass = ( element ) ->
      element.removeClass( effect + " " + settings.animationClass )

    callback = ( element ) ->
      removeClass( element ) if settings.infinite == false
      if typeof settings.callback == "function"
        settings.callback.call(this)

    # Event triggered when the animation has finished
    complete = ( element ) ->
      element.one( transitionEnd, ->
        callback( element )
      )

    return @each () ->

      init( $(this) );
{'fraction_non_alphanumeric': 0.09727418492784608, 'fraction_numerical': 0.0010689470871191875, 'mean_word_length': 2.578393881453155, 'pattern_counts': {'":': 2, '<': 3, '<?xml version=': 0, '>': 25, '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': '2447483', 'n_tokens_mistral': 981, 'n_tokens_neox': 938, 'n_words': 321}