MCPcopy
hub / github.com/greensock/GSAP / f

Function f

esm/gsap-core.js:3921–3934  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3919
3920 var self = this,
3921 f = function f() {
3922 var prev = _context,
3923 prevSelector = self.selector,
3924 result;
3925 prev && prev !== self && prev.data.push(self);
3926 scope && (self.selector = selector(scope));
3927 _context = self;
3928 result = func.apply(self, arguments);
3929 _isFunction(result) && self._r.push(result);
3930 _context = prev;
3931 self.selector = prevSelector;
3932 self.isReverted = false;
3933 return result;
3934 };
3935
3936 self.last = f;
3937 return name === _isFunction ? f(self, function (func) {

Callers 4

pipeFunction · 0.70
_resolveFunction · 0.70
_dispatchFunction · 0.70
gsap-core.jsFile · 0.70

Calls 3

applyMethod · 0.80
selectorFunction · 0.70
_isFunctionFunction · 0.70

Tested by

no test coverage detected