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

Function createInputPseudo

2.1.1/test/jquery-2.1.1.js:942–947  ·  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

940 * @param {String} type
941 */
942function createInputPseudo( type ) {
943 return function( elem ) {
944 var name = elem.nodeName.toLowerCase();
945 return name === "input" && elem.type === type;
946 };
947}
948
949/**
950 * Returns a function to use in pseudos for buttons

Callers 1

jquery-2.1.1.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected