MCPcopy Index your code
hub / github.com/codrops/RainEffect / _create

Function _create

demo/js/index.js:9278–9284  ·  view source on GitHub ↗
(n, f)

Source from the content-addressed store, hash-verified

9276 _HALF_PI = Math.PI / 2,
9277 _class = gs._class,
9278 _create = function(n, f) {
9279 var C = _class("easing." + n, function(){}, true),
9280 p = C.prototype = new Ease();
9281 p.constructor = C;
9282 p.getRatio = f;
9283 return C;
9284 },
9285 _easeReg = Ease.register || function(){}, //put an empty function in place just as a safety measure in case someone loads an OLD version of TweenLite.js where Ease.register doesn't exist.
9286 _wrap = function(name, EaseOut, EaseIn, EaseInOut, aliases) {
9287 var C = _class("easing."+name, {

Callers 15

index2.jsFile · 0.85
wrapFunction · 0.85
$definePropertyFunction · 0.85
$createFunction · 0.85
index.jsFile · 0.85
wrapFunction · 0.85
$definePropertyFunction · 0.85
$createFunction · 0.85
main.jsFile · 0.85
wrapFunction · 0.85
$definePropertyFunction · 0.85
$createFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected