MCPcopy
hub / github.com/perkeep/perkeep / createInputPseudo

Function createInputPseudo

app/publisher/jquery.js:969–974  ·  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

967 * @param {String} type
968 */
969function createInputPseudo( type ) {
970 return function( elem ) {
971 var name = elem.nodeName.toLowerCase();
972 return name === "input" && elem.type === type;
973 };
974}
975
976/**
977 * 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