MCPcopy Create free account
hub / github.com/JsAaron/jQuery / createInputPseudo

Function createInputPseudo

2.1.1/test/jquery-1.11.1.js:979–984  ·  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

977 * @param {String} type
978 */
979function createInputPseudo( type ) {
980 return function( elem ) {
981 var name = elem.nodeName.toLowerCase();
982 return name === "input" && elem.type === type;
983 };
984}
985
986/**
987 * Returns a function to use in pseudos for buttons

Callers 1

jquery-1.11.1.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected