MCPcopy
hub / github.com/apache/caldera / createInputPseudo

Function createInputPseudo

static/jquery/jquery.js:1003–1008  ·  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

1001 * @param {String} type
1002 */
1003function createInputPseudo( type ) {
1004 return function( elem ) {
1005 var name = elem.nodeName.toLowerCase();
1006 return name === "input" && elem.type === type;
1007 };
1008}
1009
1010/**
1011 * Returns a function to use in pseudos for buttons

Callers 1

jquery.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected