MCPcopy
hub / github.com/ampproject/amphtml / cb

Function cb

test/unit/core/dom/test-query.js:150–153  ·  view source on GitHub ↗
(el)

Source from the content-addressed store, hash-verified

148 it('should stop search at opt_stopAt', () => {
149 const cbSpy = env.sandbox.spy();
150 const cb = (el) => {
151 cbSpy();
152 return el.tagName == 'DIV';
153 };
154 const element = document.createElement('div');
155
156 const child = document.createElement('p');

Callers 11

stubVsyncMeasureFunction · 0.50
syncResolveFunction · 0.50
ctorFunction · 0.50
ctorFunction · 0.50
test-ssp.jsFile · 0.50
installStylesLegacyFunction · 0.50
afterRenderPromiseFunction · 0.50
scope-require.jsFile · 0.50
connectMethod · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected