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

Function createInputPseudo

2.0.3/Sizzle.js:397–402  ·  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

395 */
396
397 function createInputPseudo(type) {
398 return function(elem) {
399 var name = elem.nodeName.toLowerCase();
400 return name === "input" && elem.type === type;
401 };
402 }
403
404 /**
405 * Returns a function to use in pseudos for buttons

Callers 1

Sizzle.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected