<commit_before>/*
class: Meetup.Tweener

Meetup.Tweener is a controller object of Tweening Animation. It is
heavily inspired by Zeh Fernando's Tweener and its
JavaScript-ported JSTweener by <NAME>.

It *requires CSS manupilation library*. Currently MochiKit is
default, jQuery is supported. You can make a adaptor simply by
writing up a wrapper object.

Created on:
  Feburary 4, 2009

Author:
  <NAME> <<EMAIL>>

License:
  MIT License -- See LICENSE file

Require:
  - Style manupilation Library in order to modify Style on DOM Object:
    MochiKit.Style - supported
    jQuery - supported
    Prototype - not yet supported
    MooTools - not yet supported
    Others - or you can implement your own. See the source.

See Also:
  - http://en.wikipedia.org/wiki/Tweening
  - http://hosted.zeh.com.br/tweener/docs/en-us/
  - http://github.com/hotchpotch/hotchpotch.github.com/raw/42bdc6fce9b656a74525e6565f778c93f149839f/javascripts/JSTweener.js

Note:
  Keeping this compatible to Zeh's original AS3 Tweener API is one of
my goal, but make this perfectly compatible to AS3 Tweener API is not
my purpose and doesn't make sense since ActionScript and JavaScript
runs in different implementation.  The following list shows methods
from AS3 Tweener API which are not implemented:
  - addCaller
  - getVersion
  - getTweenCount
  - registerSpecialProperty
  - registerSpecialPropertyModifier
  - registerSpecialPropertySplitter
  - registerTransition
  - updateTime
  - setTimeScale

Todo:
  - recheck style names and Tweenable properties
  - complex easing functions should be inlined?  Is JS smart enough
    to do beta-transform automatically?
*/

if (typeof Meetup.Tweener === 'undefined') {
  Meetup.Tweener = {};
}

Meetup.Tweener.easingFunctionsLowerCase = {};
Meetup.Tweener.frameInterval            = 0;
Meetup.Tweener.isUsing                  = 'MochiKit';
Meetup.Tweener.styleLib                 = null;
Meetup.Tweener.tweens                   = {};
Meetup.Tweener.FPS                      = 55;
Meetup.Tweener.VERSION                  = '0.5.1';

/*
variable: DEFAULT_PARAMS

Default parameters for Tweening

  time - 1 (_number_ in second convention)
  transition - easoutexpo (_string_ or _function_)
  delay - 0 (_number_ in second convention)
  onStart - undefined (_function_)
  onStartParams - undefined (_array_)
  onUpdate - undefined (_function_)
  onUpdateParams - undefined (_array_)
  onComplete - undefined (_function_)<commit_msg>added root namespace (Meetup) fallback<commit_after>/*
class: Meetup.Tweener

Meetup.Tweener is a controller object of Tweening Animation. It is
heavily inspired by <NAME>'s Tweener and its
JavaScript-ported JSTweener by Yuichi Tateno.

It *requires CSS manupilation library*. Currently MochiKit is
default, jQuery is supported. You can make a adaptor simply by
writing up a wrapper object.

Created on:
  Feburary 4, 2009

Author:
  <NAME> <<EMAIL>>

License:
  MIT License -- See LICENSE file

Require:
  - Style manupilation Library in order to modify Style on DOM Object:
    MochiKit.Style - supported
    jQuery - supported
    Prototype - not yet supported
    MooTools - not yet supported
    Others - or you can implement your own. See the source.

See Also:
  - http://en.wikipedia.org/wiki/Tweening
  - http://hosted.zeh.com.br/tweener/docs/en-us/
  - http://github.com/hotchpotch/hotchpotch.github.com/raw/42bdc6fce9b656a74525e6565f778c93f149839f/javascripts/JSTweener.js

Note:
  Keeping this compatible to Zeh's original AS3 Tweener API is one of
my goal, but make this perfectly compatible to AS3 Tweener API is not
my purpose and doesn't make sense since ActionScript and JavaScript
runs in different implementation.  The following list shows methods
from AS3 Tweener API which are not implemented:
  - addCaller
  - getVersion
  - getTweenCount
  - registerSpecialProperty
  - registerSpecialPropertyModifier
  - registerSpecialPropertySplitter
  - registerTransition
  - updateTime
  - setTimeScale

Todo:
  - recheck style names and Tweenable properties
  - complex easing functions should be inlined?  Is JS smart enough
    to do beta-transform automatically?
*/

if (typeof Meetup === 'undefined') {
  Meetup = {};
}

if (Meetup.Tweener === undefined) {
  Meetup.Tweener = {};
}

Meetup.Tweener.easingFunctionsLowerCase = {};
Meetup.Tweener.frameInterval            = 0;
Meetup.Tweener.isUsing                  = 'MochiKit';
Meetup.Tweener.styleLib                 = null;
Meetup.Tweener.tweens                   = {};
Meetup.Tweener.FPS                      = 55;
Meetup.Tweener.VERSION                  = '0.5.2';

/*
variable: DEFAULT_PARAMS

Default parameters for Tweening

  time - 1 (_number_ in second convention)
  transition - easoutexpo (_string_ or _function_)
  delay - 0 (_number_ in second convention)
  onStart - undefined (_function_)
  onStartParams - undefined (_array_)
  onUpdate - undefined (_function_)
  onUpdateParams - undefined (_array_)
  onComplete - undefined (_function_)
{'fraction_non_alphanumeric': 0.07536173633440514, 'fraction_numerical': 0.017282958199356914, 'mean_word_length': 3.2868217054263567, 'pattern_counts': {'":': 0, '<': 11, '<?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': '5674181', 'n_tokens_mistral': 1589, 'n_tokens_neox': 1505, 'n_words': 487}