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

Function createInputPseudo

2.0.3/Sizzle-annotation.js:442–447  ·  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

440 */
441
442 function createInputPseudo(type) {
443 return function(elem) {
444 var name = elem.nodeName.toLowerCase();
445 return name === "input" && elem.type === type;
446 };
447 }
448
449 /**
450 * Returns a function to use in pseudos for buttons

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected