MCPcopy Index your code
hub / github.com/JsAaron/jQuery / createInputPseudo

Function createInputPseudo

2.1.1/test/sizzle.js:405–410  ·  view source on GitHub ↗

* Returns a function to use in pseudos for input types * @param {String} type

( type )

Source from the content-addressed store, hash-verified

403 * @param {String} type
404 */
405function createInputPseudo( type ) {
406 return function( elem ) {
407 var name = elem.nodeName.toLowerCase();
408 return name === "input" && elem.type === type;
409 };
410}
411
412/**
413 * Returns a function to use in pseudos for buttons

Callers 1

sizzle.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected