MCPcopy Index your code
hub / github.com/caike/jQuery-Simple-Timer / createInputPseudo

Function createInputPseudo

examples/bundle.js:1263–1268  ·  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

1261 * @param {String} type
1262 */
1263function createInputPseudo( type ) {
1264 return function( elem ) {
1265 var name = elem.nodeName.toLowerCase();
1266 return name === "input" && elem.type === type;
1267 };
1268}
1269
1270/**
1271 * Returns a function to use in pseudos for buttons

Callers 1

bundle.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected