MCPcopy Create free account
hub / github.com/codrops/RainEffect / CSSPlugin

Function CSSPlugin

demo/js/index.js:6408–6412  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

6406
6407 /** @constructor **/
6408 var CSSPlugin = function() {
6409 TweenPlugin.call(this, "css");
6410 this._overwriteProps.length = 0;
6411 this.setRatio = CSSPlugin.prototype.setRatio; //speed optimization (avoid prototype lookup on this "hot" method)
6412 },
6413 _globals = _gsScope._gsDefine.globals,
6414 _hasPriority, //turns true whenever a CSSPropTween instance is created that has a priority other than 0. This helps us discern whether or not we should spend the time organizing the linked list or not after a CSSPlugin's _onInitTween() method is called.
6415 _suffixMap, //we set this in _onInitTween() each time as a way to have a persistent variable we can use in other methods like _parse() without having to pass it around as a parameter and we keep _parse() decoupled from a particular CSSPlugin instance

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected