MCPcopy Create free account
hub / github.com/Lucifier129/react-lite / callback

Function callback

__tests__/ReactChildren-test.js:93–96  ·  view source on GitHub ↗
(kid, index)

Source from the content-addressed store, hash-verified

91 it('should invoke callback with the right context', function() {
92 var lastContext;
93 var callback = function(kid, index) {
94 lastContext = this;
95 return this;
96 };
97
98 // TODO: Use an object to test, after non-object fragments has fully landed.
99 var scopeTester = 'scope tester';

Callers 5

countingFunction · 0.85
react.jsFile · 0.85
traverseAllChildrenImplFunction · 0.85
countingFunction · 0.85
traverseAllChildrenImplFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected