<commit_before>###!
jQuery.TextFade v 1.0.0.alpha
https://github.com/mdesantis/jquery.textfade

Copyright 2014 <NAME>
Released under the MIT license
https://github.com/mdesantis/jquery.textfade/LICENSE
###

# Coffeescript compile command: coffee --compile --output lib src
# Uglify command:               uglifyjs lib/jquery.textfade.js --mangle --compress --comments '/!/' --output lib/jquery.textfade.min.js

TextFade = (@$element, @action, options) ->

  $                   = window.jQuery
  BLANK_REPLACE_REGEX = /[^\n]/g
  LINES_SPLIT_REGEX   = /.+\n?|\n/g
  SEQUENCES           =
    'random'  : (text) -> shuffle times text.length
    'ltr_ttb' : (text) -> times text.length
    'ltr_btt' : (text) ->
      sequence = textToSequence text, (seqi, c) -> seqi.push c
      sequence.reverse().reduce (a, b) -> a.concat b
    'rtl_ttb' : (text) ->
      sequence = textToSequence text, (seqi, c) -> seqi.unshift c
      sequence.reduce (a, b) -> a.concat b
    'rtl_btt' : (text) ->
      sequence = textToSequence text, (seqi, c) -> seqi.unshift c
      sequence.reverse().reduce (a, b) -> a.concat b
<commit_msg>Updating version<commit_after>###!
jQuery.TextFade v 1.0.0
https://github.com/mdesantis/jquery.textfade

Copyright 2014 <NAME>
Released under the MIT license
https://github.com/mdesantis/jquery.textfade/LICENSE
###

# Coffeescript compile command: coffee --compile --output lib src
# Uglify command:               uglifyjs lib/jquery.textfade.js --mangle --compress --comments '/!/' --output lib/jquery.textfade.min.js

TextFade = (@$element, @action, options) ->

  $                   = window.jQuery
  BLANK_REPLACE_REGEX = /[^\n]/g
  LINES_SPLIT_REGEX   = /.+\n?|\n/g
  SEQUENCES           =
    'random'  : (text) -> shuffle times text.length
    'ltr_ttb' : (text) -> times text.length
    'ltr_btt' : (text) ->
      sequence = textToSequence text, (seqi, c) -> seqi.push c
      sequence.reverse().reduce (a, b) -> a.concat b
    'rtl_ttb' : (text) ->
      sequence = textToSequence text, (seqi, c) -> seqi.unshift c
      sequence.reduce (a, b) -> a.concat b
    'rtl_btt' : (text) ->
      sequence = textToSequence text, (seqi, c) -> seqi.unshift c
      sequence.reverse().reduce (a, b) -> a.concat b

{'fraction_non_alphanumeric': 0.15822501120573734, 'fraction_numerical': 0.0062752129090094125, 'mean_word_length': 2.629268292682927, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 29, 'https://': 4, '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': '2614530', 'n_tokens_mistral': 821, 'n_tokens_neox': 782, 'n_words': 185}