MCPcopy
hub / github.com/jquery/jquery / markFunction

Function markFunction

dist-module/jquery.factory.slim.module.js:1296–1299  ·  view source on GitHub ↗

* Mark a function for special use by jQuery selector module * @param {Function} fn The function to mark

( fn )

Source from the content-addressed store, hash-verified

1294 * @param {Function} fn The function to mark
1295 */
1296function markFunction( fn ) {
1297 fn[ jQuery.expando ] = true;
1298 return fn;
1299}
1300
1301/**
1302 * Returns a function to use in pseudos for input types

Callers 4

createPositionalPseudoFunction · 0.70
jQueryFactoryWrapperFunction · 0.70
setMatcherFunction · 0.70
matcherFromGroupMatchersFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected